Open
Description
Description
The following code snippet causes an error with message recursive type is not allowed for public state variables
. I cannot find references to "recursive type" in the doc https://docs.soliditylang.org/en/latest/types.html. Can we improve the doc or the error message
contract contract0 {
struct struct1 {
mapping(int64 => int64)[10] array2;
}
mapping(int64 => struct1) public mapping11;
}
Environment
- Compiler version: 0.8.29
Metadata
Metadata
Assignees
Labels
There is not much implementation work to be done. The task is very easy or tiny.Changes are not very noticeable or potential benefits are limited.Something we consider essential but not enough to prevent us from releasing Solidity 1.0 without it.Error is just badly reported. Should be a proper type error - source is not fine.