mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge branch 'origin/develop' into develop_060
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user