Added error codes to SyntaxTest expectations (updated tests)

This commit is contained in:
a3d4
2020-06-22 16:51:47 +02:00
parent 8ebe7676d5
commit e04cedafc5
1775 changed files with 3951 additions and 3952 deletions
@@ -5,7 +5,7 @@ contract C {
}
}
// ----
// TypeError: (67-72): Type int_const 1897...(74 digits omitted)...1424 is not implicitly convertible to expected type uint256.
// TypeError: (74-79): Type int_const 1897...(74 digits omitted)...1424 is not implicitly convertible to expected type uint256.
// TypeError: (81-90): Type rational_const 9485...(73 digits omitted)...5712 / 5 is not implicitly convertible to expected type uint256.
// TypeError: (65-91): Index expression cannot be represented as an unsigned integer.
// TypeError 7407: (67-72): Type int_const 1897...(74 digits omitted)...1424 is not implicitly convertible to expected type uint256.
// TypeError 7407: (74-79): Type int_const 1897...(74 digits omitted)...1424 is not implicitly convertible to expected type uint256.
// TypeError 7407: (81-90): Type rational_const 9485...(73 digits omitted)...5712 / 5 is not implicitly convertible to expected type uint256.
// TypeError 6318: (65-91): Index expression cannot be represented as an unsigned integer.
@@ -5,7 +5,7 @@ contract C {
}
}
// ----
// TypeError: (67-72): Type int_const 1897...(74 digits omitted)...1424 is not implicitly convertible to expected type uint256.
// TypeError: (74-79): Type int_const 1897...(74 digits omitted)...1424 is not implicitly convertible to expected type uint256.
// TypeError: (81-90): Type int_const -189...(75 digits omitted)...1423 is not implicitly convertible to expected type uint256.
// TypeError: (65-91): Index expression cannot be represented as an unsigned integer.
// TypeError 7407: (67-72): Type int_const 1897...(74 digits omitted)...1424 is not implicitly convertible to expected type uint256.
// TypeError 7407: (74-79): Type int_const 1897...(74 digits omitted)...1424 is not implicitly convertible to expected type uint256.
// TypeError 7407: (81-90): Type int_const -189...(75 digits omitted)...1423 is not implicitly convertible to expected type uint256.
// TypeError 6318: (65-91): Index expression cannot be represented as an unsigned integer.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError: (67-69): Type int_const -1 is not implicitly convertible to expected type uint256.
// TypeError 7407: (67-69): Type int_const -1 is not implicitly convertible to expected type uint256.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError: (67-178): Type int_const 8888...(103 digits omitted)...8888 is not implicitly convertible to expected type uint256.
// TypeError 7407: (67-178): Type int_const 8888...(103 digits omitted)...8888 is not implicitly convertible to expected type uint256.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError: (65-70): Out of bounds array access.
// TypeError 3383: (65-70): Out of bounds array access.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError: (61-64): Index expression cannot be omitted.
// TypeError 9689: (61-64): Index expression cannot be omitted.
@@ -5,5 +5,5 @@ contract C {
}
}
// ----
// TypeError: (58-60): Type int_const -1 is not implicitly convertible to expected type uint256.
// TypeError: (56-61): Index expression cannot be represented as an unsigned integer.
// TypeError 7407: (58-60): Type int_const -1 is not implicitly convertible to expected type uint256.
// TypeError 6318: (56-61): Index expression cannot be represented as an unsigned integer.
@@ -5,5 +5,5 @@ contract C {
}
}
// ----
// TypeError: (58-169): Type int_const 8888...(103 digits omitted)...8888 is not implicitly convertible to expected type uint256.
// TypeError: (56-170): Index expression cannot be represented as an unsigned integer.
// TypeError 7407: (58-169): Type int_const 8888...(103 digits omitted)...8888 is not implicitly convertible to expected type uint256.
// TypeError 6318: (56-170): Index expression cannot be represented as an unsigned integer.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError: (56-61): Out of bounds array access.
// TypeError 1859: (56-61): Out of bounds array access.
@@ -5,4 +5,4 @@ contract C {
}
}
// ----
// TypeError: (56-59): Index expression cannot be omitted.
// TypeError 8830: (56-59): Index expression cannot be omitted.
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError: (41-42): Indexed expression has to be a type, mapping or array (is function ())
// TypeError 2614: (41-42): Indexed expression has to be a type, mapping or array (is function ())
@@ -4,4 +4,4 @@ contract C {
}
}
// ----
// TypeError: (41-42): Indexed expression has to be a type, mapping or array (is function ())
// TypeError 2614: (41-42): Indexed expression has to be a type, mapping or array (is function ())
@@ -7,4 +7,4 @@ contract test {
}
// ----
// TypeError: (101-241): Type int_const 7555...(132 digits omitted)...5555 is not implicitly convertible to expected type uint256.
// TypeError 7407: (101-241): Type int_const 7555...(132 digits omitted)...5555 is not implicitly convertible to expected type uint256.