solidity/test/libsolidity/syntaxTests/lvalues/library_mapping.sol

8 lines
230 B
Solidity
Raw Normal View History

library L {
function f(mapping(uint=>uint) storage x, mapping(uint=>uint) storage y) external {
x = y;
}
}
// ----
2020-06-07 16:00:52 +00:00
// TypeError 9214: (108-109): Types in storage containing (nested) mappings cannot be assigned to.