mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #12361 from mejsiej/improved-err-msg-when-getter-returns-nothing
Changed the message of the error thrown when the structure has all it's members omitted
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