Complex struct getter detector#
Name: complex-struct-getter
Solidity-generated getters for public state variables do not return array and mapping members of (possible nested) structs. See the Solidity docs for more details.
Example#
- Getter for
sis generated. Since theComplexStructcontains an array and a mapping, the getter returns only the non-complex membersaandc(as a tuple). - The array member
bis not returned by thesgetter. - The mapping member
dis not returned by thesgetter.
Parameters#
The detector does not accept any additional parameters.