mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix ICE caused by const structs with mappings
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
contract C {
|
||||
struct S {
|
||||
mapping(uint => uint) c;
|
||||
}
|
||||
S public constant e = 0x1212121212121212121212121212121212121212;
|
||||
}
|
||||
// ----
|
||||
// DeclarationError 9259: (71-135): Constants of non-value type not yet implemented.
|
||||
Reference in New Issue
Block a user