2020-11-23 18:06:44 +00:00
|
|
|
pragma abicoder v2;
|
2020-05-13 09:00:47 +00:00
|
|
|
contract C {
|
|
|
|
function f(uint256[][] calldata x) external pure {
|
|
|
|
x[1:2];
|
|
|
|
x[:];
|
|
|
|
x[1:];
|
|
|
|
x[:2];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// TypeError 2148: (110-116): Index range access is not supported for arrays with dynamically encoded base types.
|
|
|
|
// TypeError 2148: (126-130): Index range access is not supported for arrays with dynamically encoded base types.
|
|
|
|
// TypeError 2148: (140-145): Index range access is not supported for arrays with dynamically encoded base types.
|
|
|
|
// TypeError 2148: (155-160): Index range access is not supported for arrays with dynamically encoded base types.
|