Fix ICE caused by const structs with mappings

This commit is contained in:
a3d4
2021-01-12 18:39:54 +01:00
committed by chriseth
parent fa28e48415
commit 35a25b107f
14 changed files with 35 additions and 16 deletions
@@ -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.