mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Improve failure message when generating getter.
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user