mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[test] Update tests to include location string.
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 8381: (60-64): Tuple component cannot be empty.
|
||||
// TypeError 8381: (60-64='(0,)'): Tuple component cannot be empty.
|
||||
|
||||
+1
-1
@@ -6,4 +6,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 9767: (59-64): Unary operator -- cannot be applied to type tuple(,)
|
||||
// TypeError 9767: (59-64='--(,)'): Unary operator -- cannot be applied to type tuple(,)
|
||||
|
||||
+2
-2
@@ -6,5 +6,5 @@ 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 4247: (68-69='0'): Expression has to be an lvalue.
|
||||
// TypeError 9767: (59-70='delete (,0)'): Unary operator delete cannot be applied to type tuple(,int_const 0)
|
||||
|
||||
+1
-1
@@ -6,4 +6,4 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 9767: (61-66): Unary operator ++ cannot be applied to type tuple(,)
|
||||
// TypeError 9767: (61-66='++(,)'): Unary operator ++ cannot be applied to type tuple(,)
|
||||
|
||||
+9
-9
@@ -9,12 +9,12 @@ 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 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 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 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 7364: (128-145): Different number of components on the left hand side (1) than on the right hand side (2).
|
||||
// SyntaxError 9636: (59-66='+(0, 0)'): Use of unary + is disallowed.
|
||||
// TypeError 4907: (59-66='+(0, 0)'): Unary operator + cannot be applied to type tuple(int_const 0,int_const 0)
|
||||
// TypeError 7364: (51-66='int x = +(0, 0)'): Different number of components on the left hand side (1) than on the right hand side (2).
|
||||
// TypeError 4907: (84-91='-(0, 0)'): Unary operator - cannot be applied to type tuple(int_const 0,int_const 0)
|
||||
// TypeError 7364: (76-91='int y = -(0, 0)'): Different number of components on the left hand side (1) than on the right hand side (2).
|
||||
// TypeError 4907: (111-118='~(0, 0)'): Unary operator ~ cannot be applied to type tuple(int_const 0,int_const 0)
|
||||
// TypeError 7364: (101-118='(int z) = ~(0, 0)'): Different number of components on the left hand side (1) than on the right hand side (2).
|
||||
// TypeError 4907: (138-145='!(0, 0)'): Unary operator ! cannot be applied to type tuple(int_const 0,int_const 0)
|
||||
// TypeError 7364: (128-145='(int t) = !(0, 0)'): Different number of components on the left hand side (1) than on the right hand side (2).
|
||||
|
||||
Reference in New Issue
Block a user