Merge branch 'origin/develop' into develop_060

This commit is contained in:
chriseth
2019-10-02 16:29:36 +02:00
21 changed files with 175 additions and 50 deletions
@@ -5,4 +5,4 @@ library A {}
==== Source: c ====
import {A} from "./a"; import {A} from "./b";
// ----
// DeclarationError: (c:23-45): Identifier already declared.
// DeclarationError: (c:31-32): Identifier already declared.
@@ -3,4 +3,4 @@ contract C {}
==== Source: b ====
import {C as msg} from "B.sol";
// ----
// Warning: (B.sol:0-13): This declaration shadows a builtin symbol.
// Warning: (b:13-16): This declaration shadows a builtin symbol.
@@ -7,5 +7,5 @@ contract C {
// ----
// Warning: (B.sol:0-15): This declaration shadows a builtin symbol.
// Warning: (B.sol:16-32): This declaration shadows a builtin symbol.
// Warning: (B.sol:0-15): This declaration shadows a builtin symbol.
// Warning: (B.sol:16-32): This declaration shadows a builtin symbol.
// Warning: (b:8-11): This declaration shadows a builtin symbol.
// Warning: (b:13-18): This declaration shadows a builtin symbol.
@@ -5,4 +5,4 @@ library A {}
==== Source: c ====
import {A} from "./a"; import {A} from "./b";
// ----
// DeclarationError: (c:23-45): Identifier already declared.
// DeclarationError: (c:31-32): Identifier already declared.
@@ -0,0 +1,10 @@
contract Test {
struct RecursiveStruct {
RecursiveStruct[] vals;
}
function func() private pure {
RecursiveStruct[1] memory val;
val;
}
}