blob: a3bb1c32fcb9be881fcf93565ec1c0649692f995 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
library L
{
function f(mapping(uint => uint) storage a, mapping(uint => uint) storage b, bool c) external pure returns(mapping(uint => uint) storage) {
return c ? a : b;
}
}
// ----
// TypeError: (27-58): Type is required to live outside storage.
// TypeError: (60-91): Type is required to live outside storage.
// TypeError: (123-144): Type is required to live outside storage.
|