mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added error codes to SyntaxTest expectations (updated tests)
This commit is contained in:
@@ -8,4 +8,4 @@ contract C {
|
||||
mapping(uint256 => X) public m;
|
||||
}
|
||||
// ----
|
||||
// TypeError: (88-118): The following types are only supported for getters in ABIEncoderV2: struct C.Y memory. Either remove "public" or use "pragma experimental ABIEncoderV2;" to enable the feature.
|
||||
// TypeError 2763: (88-118): The following types are only supported for getters in ABIEncoderV2: struct C.Y memory. Either remove "public" or use "pragma experimental ABIEncoderV2;" to enable the feature.
|
||||
|
||||
@@ -5,4 +5,4 @@ contract C {
|
||||
mapping(uint256 => Y) public m;
|
||||
}
|
||||
// ----
|
||||
// TypeError: (53-83): Internal or recursive type is not allowed for public state variables.
|
||||
// TypeError 6744: (53-83): Internal or recursive type is not allowed for public state variables.
|
||||
|
||||
Reference in New Issue
Block a user