mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
239 B
Solidity
9 lines
239 B
Solidity
// Used to cause ICE
|
|
contract C {
|
|
function f(uint[] calldata x) external pure {
|
|
x[1:2].a;
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (92-100): Member "a" not found or not visible after argument-dependent lookup in uint256[] calldata slice.
|