mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
272 B
Solidity
8 lines
272 B
Solidity
pragma experimental ABIEncoderV2;
|
|
library L {
|
|
struct S { mapping(uint => uint) m; }
|
|
function f(S memory a) external pure returns (S memory) {}
|
|
}
|
|
// ----
|
|
// TypeError 4061: (103-113): Type struct L.S is only valid in storage because it contains a (nested) mapping.
|