mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
336 B
Solidity
9 lines
336 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 9259: (148-180): Constants of non-value type not yet implemented.
|
|
// TypeError 4266: (148-180): Uninitialized "constant" variable.
|