mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix ICE when a constant variable declaration forward references a struct
This commit is contained in:
@@ -5,4 +5,4 @@ contract C {
|
||||
S public constant e = 0x1212121212121212121212121212121212121212;
|
||||
}
|
||||
// ----
|
||||
// DeclarationError 3530: (71-135): The type contains a (nested) mapping and therefore cannot be a constant.
|
||||
// TypeError 9259: (71-135): Only constants of value type and byte arrays are implemented.
|
||||
|
||||
Reference in New Issue
Block a user