solidity/test/libsolidity/syntaxTests/lvalues/library_mapping.sol
2022-04-01 23:41:18 -05:00

8 lines
234 B
Solidity

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