Disallows fixed-size multidim. arrays with zero-length.

This commit is contained in:
Erik Kundt
2018-09-21 18:44:56 +02:00
parent 5f919d02ab
commit ff5be17990
2 changed files with 11 additions and 0 deletions
@@ -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.