mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Disallows fixed-size multidim. arrays with zero-length.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
contract C {
|
||||
bytes[0] a;
|
||||
function f() public pure returns(bytes32[0][500] memory) {}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (62-84): Fixed-size multidimensional arrays are not allowed to have zero length.
|
||||
Reference in New Issue
Block a user