mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixed syntax test error messages.
This commit is contained in:
parent
c6e73707c7
commit
57d7226d1a
@ -6,4 +6,4 @@ contract C {
|
||||
bytes32 h = type(S).typehash;
|
||||
}
|
||||
// ----
|
||||
// TypeError 9518: (92-108): "typehash" cannot be used for structs with members of "mapping(uint256 => uint256)" type.
|
||||
// TypeError 9518: (91-107): "typehash" cannot be used for structs with members of "mapping(uint256 => uint256)" type.
|
||||
|
@ -6,4 +6,4 @@ contract C {
|
||||
bytes32 h = type(S).typehash;
|
||||
}
|
||||
// ----
|
||||
// TypeError 9298: (68-84): "typehash" cannot be used for recursive structs.
|
||||
// TypeError 9298: (66-82): "typehash" cannot be used for recursive structs.
|
||||
|
@ -11,4 +11,4 @@ contract C {
|
||||
bytes32 h = type(S).typehash;
|
||||
}
|
||||
// ----
|
||||
// TypeError 9298: (121-137): "typehash" cannot be used for recursive structs.
|
||||
// TypeError 9298: (119-135): "typehash" cannot be used for recursive structs.
|
||||
|
Loading…
Reference in New Issue
Block a user