contract ExampleContract {
// ACCEPTED: [[1,2],[3,4],[5,6]]
// REJECTED: [[1,2,3],[4,5,6]]
function fixedSize(uint256[2][3] calldata nestedArray) public pure returns (uint256) {
return 0; // just for the sake of compilation
}
}
contract ExampleContract {
// ACCEPTED: [[1,2],[3,4],[5,6]]
// REJECTED: [[1,2,3],[4,5,6]]
function fixedSize(uint256[2][3] calldata nestedArray) public pure returns (uint256) {
return 0; // just for the sake of compilation
}
}