mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
326 B
Solidity
9 lines
326 B
Solidity
|
contract C {
|
||
|
// This should probably have a better error message at some point.
|
||
|
// Constant mappings should not be possible in general.
|
||
|
mapping(uint => uint) constant x;
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (148-180): Constants of non-value type not yet implemented.
|
||
|
// TypeError: (148-180): Uninitialized "constant" variable.
|