mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
294 B
Solidity
7 lines
294 B
Solidity
pragma abicoder v2;
|
|
library L {
|
|
function f(mapping(uint => uint)[2] memory a) external pure returns (mapping(uint => uint)[2] memory) {}
|
|
}
|
|
// ----
|
|
// TypeError 4061: (61-94): Type mapping(uint256 => uint256)[2] is only valid in storage because it contains a (nested) mapping.
|