Update 2271 and 5653 error messages to mention the errors are related to the binary operator.

This commit is contained in:
wechman
2022-09-28 13:08:32 +02:00
parent 697d279165
commit 27249cfa52
59 changed files with 163 additions and 163 deletions
@@ -19,9 +19,9 @@ contract C {
}
}
// ----
// TypeError 2271: (144-157): Operator != not compatible with types type(contract super C) and contract C.
// TypeError 2271: (167-180): Operator != not compatible with types contract C and type(contract super C).
// TypeError 2271: (254-264): Operator != not compatible with types type(contract super C) and contract C.
// TypeError 2271: (274-284): Operator != not compatible with types contract C and type(contract super C).
// TypeError 2271: (349-359): Operator != not compatible with types type(contract super C) and contract D.
// TypeError 2271: (369-379): Operator != not compatible with types contract D and type(contract super C).
// TypeError 2271: (144-157): Binary operator != not compatible with types type(contract super C) and contract C.
// TypeError 2271: (167-180): Binary operator != not compatible with types contract C and type(contract super C).
// TypeError 2271: (254-264): Binary operator != not compatible with types type(contract super C) and contract C.
// TypeError 2271: (274-284): Binary operator != not compatible with types contract C and type(contract super C).
// TypeError 2271: (349-359): Binary operator != not compatible with types type(contract super C) and contract D.
// TypeError 2271: (369-379): Binary operator != not compatible with types contract D and type(contract super C).
@@ -30,25 +30,25 @@ contract C {
}
}
// ----
// TypeError 2271: (49-62): Operator << not compatible with types type(contract super C) and contract C.
// TypeError 2271: (72-85): Operator >> not compatible with types type(contract super C) and contract C.
// TypeError 2271: (95-107): Operator ^ not compatible with types type(contract super C) and contract C.
// TypeError 2271: (117-129): Operator | not compatible with types type(contract super C) and contract C.
// TypeError 2271: (139-151): Operator & not compatible with types type(contract super C) and contract C.
// TypeError 2271: (162-174): Operator * not compatible with types type(contract super C) and contract C.
// TypeError 2271: (184-196): Operator / not compatible with types type(contract super C) and contract C.
// TypeError 2271: (206-218): Operator % not compatible with types type(contract super C) and contract C.
// TypeError 2271: (228-240): Operator - not compatible with types type(contract super C) and contract C.
// TypeError 2271: (250-262): Operator + not compatible with types type(contract super C) and contract C.
// TypeError 2271: (272-285): Operator ** not compatible with types type(contract super C) and contract C.
// TypeError 2271: (296-309): Operator == not compatible with types type(contract super C) and contract C.
// TypeError 2271: (319-332): Operator != not compatible with types type(contract super C) and contract C.
// TypeError 2271: (342-355): Operator >= not compatible with types type(contract super C) and contract C.
// TypeError 2271: (365-378): Operator <= not compatible with types type(contract super C) and contract C.
// TypeError 2271: (388-400): Operator < not compatible with types type(contract super C) and contract C.
// TypeError 2271: (410-422): Operator > not compatible with types type(contract super C) and contract C.
// TypeError 2271: (433-446): Operator || not compatible with types type(contract super C) and contract C.
// TypeError 2271: (456-469): Operator && not compatible with types type(contract super C) and contract C.
// TypeError 2271: (49-62): Binary operator << not compatible with types type(contract super C) and contract C.
// TypeError 2271: (72-85): Binary operator >> not compatible with types type(contract super C) and contract C.
// TypeError 2271: (95-107): Binary operator ^ not compatible with types type(contract super C) and contract C.
// TypeError 2271: (117-129): Binary operator | not compatible with types type(contract super C) and contract C.
// TypeError 2271: (139-151): Binary operator & not compatible with types type(contract super C) and contract C.
// TypeError 2271: (162-174): Binary operator * not compatible with types type(contract super C) and contract C.
// TypeError 2271: (184-196): Binary operator / not compatible with types type(contract super C) and contract C.
// TypeError 2271: (206-218): Binary operator % not compatible with types type(contract super C) and contract C.
// TypeError 2271: (228-240): Binary operator - not compatible with types type(contract super C) and contract C.
// TypeError 2271: (250-262): Binary operator + not compatible with types type(contract super C) and contract C.
// TypeError 2271: (272-285): Binary operator ** not compatible with types type(contract super C) and contract C.
// TypeError 2271: (296-309): Binary operator == not compatible with types type(contract super C) and contract C.
// TypeError 2271: (319-332): Binary operator != not compatible with types type(contract super C) and contract C.
// TypeError 2271: (342-355): Binary operator >= not compatible with types type(contract super C) and contract C.
// TypeError 2271: (365-378): Binary operator <= not compatible with types type(contract super C) and contract C.
// TypeError 2271: (388-400): Binary operator < not compatible with types type(contract super C) and contract C.
// TypeError 2271: (410-422): Binary operator > not compatible with types type(contract super C) and contract C.
// TypeError 2271: (433-446): Binary operator || not compatible with types type(contract super C) and contract C.
// TypeError 2271: (456-469): Binary operator && not compatible with types type(contract super C) and contract C.
// TypeError 4247: (480-485): Expression has to be an lvalue.
// TypeError 7366: (480-493): Operator -= not compatible with types type(contract super C) and contract C.
// TypeError 4247: (503-508): Expression has to be an lvalue.