mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Refactoring of errors and fixes for various ICEs.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
contract Test {
|
||||
struct RecursiveStruct {
|
||||
address payable d ;
|
||||
mapping ( uint => address payable ) c ;
|
||||
mapping ( uint => address payable [ ] ) d ;
|
||||
}
|
||||
function func ( ) private pure {
|
||||
RecursiveStruct [ 1 ] memory val ;
|
||||
val ;
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// DeclarationError: (157-198): Identifier already declared.
|
||||
Reference in New Issue
Block a user