mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
98d52beba3
Refines comment for array utility function.
8 lines
180 B
Solidity
8 lines
180 B
Solidity
contract C {
|
|
function f(uint constant LEN) {
|
|
uint[LEN] a;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (62-65): Invalid array length, expected integer literal or constant expression.
|