Error message tweak: built-in unary/binary operator

This commit is contained in:
wechman
2022-11-07 17:13:41 +01:00
committed by Kamil Śliwak
parent 4c9a58eb0f
commit 6da09e8d9a
63 changed files with 172 additions and 172 deletions
@@ -6,4 +6,4 @@ contract C
}
}
// ----
// TypeError 9767: (59-64): Unary operator -- cannot be applied to type tuple(,).
// TypeError 9767: (59-64): Built-in unary operator -- cannot be applied to type tuple(,).
@@ -7,4 +7,4 @@ contract C
}
// ----
// TypeError 4247: (68-69): Expression has to be an lvalue.
// TypeError 9767: (59-70): Unary operator delete cannot be applied to type tuple(,int_const 0).
// TypeError 9767: (59-70): Built-in unary operator delete cannot be applied to type tuple(,int_const 0).
@@ -6,4 +6,4 @@ contract C
}
}
// ----
// TypeError 9767: (61-66): Unary operator ++ cannot be applied to type tuple(,).
// TypeError 9767: (61-66): Built-in unary operator ++ cannot be applied to type tuple(,).
@@ -10,11 +10,11 @@ contract C
}
// ----
// SyntaxError 9636: (59-66): Use of unary + is disallowed.
// TypeError 4907: (59-66): Unary operator + cannot be applied to type tuple(int_const 0,int_const 0).
// TypeError 4907: (59-66): Built-in unary operator + cannot be applied to type tuple(int_const 0,int_const 0).
// TypeError 7364: (51-66): Different number of components on the left hand side (1) than on the right hand side (2).
// TypeError 4907: (84-91): Unary operator - cannot be applied to type tuple(int_const 0,int_const 0).
// TypeError 4907: (84-91): Built-in unary operator - cannot be applied to type tuple(int_const 0,int_const 0).
// TypeError 7364: (76-91): Different number of components on the left hand side (1) than on the right hand side (2).
// TypeError 4907: (111-118): Unary operator ~ cannot be applied to type tuple(int_const 0,int_const 0).
// TypeError 4907: (111-118): Built-in unary operator ~ cannot be applied to type tuple(int_const 0,int_const 0).
// TypeError 7364: (101-118): Different number of components on the left hand side (1) than on the right hand side (2).
// TypeError 4907: (138-145): Unary operator ! cannot be applied to type tuple(int_const 0,int_const 0).
// TypeError 4907: (138-145): Built-in unary operator ! cannot be applied to type tuple(int_const 0,int_const 0).
// TypeError 7364: (128-145): Different number of components on the left hand side (1) than on the right hand side (2).