mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Error message tweak: built-in unary/binary operator
This commit is contained in:
+6
-6
@@ -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): Built-in binary operator != cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (167-180): Built-in binary operator != cannot be applied to types contract C and type(contract super C).
|
||||
// TypeError 2271: (254-264): Built-in binary operator != cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (274-284): Built-in binary operator != cannot be applied to types contract C and type(contract super C).
|
||||
// TypeError 2271: (349-359): Built-in binary operator != cannot be applied to types type(contract super C) and contract D.
|
||||
// TypeError 2271: (369-379): Built-in binary operator != cannot be applied to types contract D and type(contract super C).
|
||||
|
||||
+19
-19
@@ -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): Built-in binary operator << cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (72-85): Built-in binary operator >> cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (95-107): Built-in binary operator ^ cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (117-129): Built-in binary operator | cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (139-151): Built-in binary operator & cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (162-174): Built-in binary operator * cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (184-196): Built-in binary operator / cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (206-218): Built-in binary operator % cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (228-240): Built-in binary operator - cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (250-262): Built-in binary operator + cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (272-285): Built-in binary operator ** cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (296-309): Built-in binary operator == cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (319-332): Built-in binary operator != cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (342-355): Built-in binary operator >= cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (365-378): Built-in binary operator <= cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (388-400): Built-in binary operator < cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (410-422): Built-in binary operator > cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (433-446): Built-in binary operator || cannot be applied to types type(contract super C) and contract C.
|
||||
// TypeError 2271: (456-469): Built-in binary operator && cannot be applied to 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.
|
||||
|
||||
Reference in New Issue
Block a user