This commit is contained in:
chriseth
2018-11-28 14:11:51 +01:00
parent 46f3da0b87
commit c54814b47b
4 changed files with 32 additions and 0 deletions
@@ -0,0 +1,8 @@
contract C {
struct Y {
Y[] x;
}
mapping(uint256 => Y) public m;
}
// ----
// TypeError: (53-83): Internal or recursive type is not allowed for public state variables.