solidity/test/libsolidity/syntaxTests/lvalues/library_mapping.sol
2020-06-30 16:53:41 +05:30

8 lines
230 B
Solidity

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