mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
209 B
Solidity
6 lines
209 B
Solidity
abstract contract A {
|
|
constructor(mapping(uint => uint) memory a) {}
|
|
}
|
|
// ----
|
|
// TypeError 4061: (38-68): Type mapping(uint256 => uint256) is only valid in storage because it contains a (nested) mapping.
|