Improve failure message when generating getter.

This commit is contained in:
mejsiej
2021-12-20 18:16:27 +01:00
committed by chriseth
parent 8da9239c83
commit ddd9a84141
2 changed files with 9 additions and 2 deletions
@@ -3,4 +3,4 @@ contract test {
Data public data;
}
// ----
// TypeError 6744: (58-74): Internal or recursive type is not allowed for public state variables.
// TypeError 5359: (58-74): The struct has all its members omitted, therefore the getter cannot return any values.