fixed syntax test error messages.

This commit is contained in:
Saw-mon & Natalie 2023-05-21 17:15:20 +01:00 committed by Anton Bukov
parent c6e73707c7
commit 57d7226d1a
3 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.