mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added error codes to SyntaxTest expectations (updated tests)
This commit is contained in:
@@ -8,5 +8,5 @@
|
||||
// ====
|
||||
// dialect: evmTyped
|
||||
// ----
|
||||
// TypeError: (51-52): Assigning a value of type "u256" to a variable of type "bool".
|
||||
// TypeError: (62-63): Assigning a value of type "bool" to a variable of type "u256".
|
||||
// TypeError 9547: (51-52): Assigning a value of type "u256" to a variable of type "bool".
|
||||
// TypeError 9547: (62-63): Assigning a value of type "bool" to a variable of type "u256".
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
// ====
|
||||
// dialect: evmTyped
|
||||
// ----
|
||||
// TypeError: (23-24): Expected a value of boolean type "bool" but got "u256"
|
||||
// TypeError 1733: (23-24): Expected a value of boolean type "bool" but got "u256"
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
// ====
|
||||
// dialect: ewasm
|
||||
// ----
|
||||
// TypeError: (23-24): Expected a value of boolean type "i32" but got "i64"
|
||||
// TypeError 1733: (23-24): Expected a value of boolean type "i32" but got "i64"
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
// ====
|
||||
// dialect: evmTyped
|
||||
// ----
|
||||
// TypeError: (10-24): "invalidType" is not a valid type (user defined types are not yet supported).
|
||||
// TypeError 5473: (10-24): "invalidType" is not a valid type (user defined types are not yet supported).
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
// ====
|
||||
// dialect: evmTyped
|
||||
// ----
|
||||
// TypeError: (15-28): "invalidType" is not a valid type (user defined types are not yet supported).
|
||||
// TypeError: (10-11): Assigning value of type "invalidType" to variable of type "u256.
|
||||
// TypeError 5473: (15-28): "invalidType" is not a valid type (user defined types are not yet supported).
|
||||
// TypeError 3947: (10-11): Assigning value of type "invalidType" to variable of type "u256.
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
// ====
|
||||
// dialect: evmTyped
|
||||
// ----
|
||||
// TypeError: (17-31): "invalidType" is not a valid type (user defined types are not yet supported).
|
||||
// TypeError: (36-50): "invalidType" is not a valid type (user defined types are not yet supported).
|
||||
// TypeError 5473: (17-31): "invalidType" is not a valid type (user defined types are not yet supported).
|
||||
// TypeError 5473: (36-50): "invalidType" is not a valid type (user defined types are not yet supported).
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
// ====
|
||||
// dialect: evmTyped
|
||||
// ----
|
||||
// TypeError: (24-38): Expected a value of type "u256" but got "invalidType"
|
||||
// TypeError: (24-38): "invalidType" is not a valid type (user defined types are not yet supported).
|
||||
// TypeError 3781: (24-38): Expected a value of type "u256" but got "invalidType"
|
||||
// TypeError 5473: (24-38): "invalidType" is not a valid type (user defined types are not yet supported).
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
// ====
|
||||
// dialect: evmTyped
|
||||
// ----
|
||||
// Warning: (10-12): The "pc" instruction is deprecated and will be removed in the next breaking release.
|
||||
// Warning 2450: (10-12): The "pc" instruction is deprecated and will be removed in the next breaking release.
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
// ====
|
||||
// dialect: ewasm
|
||||
// ----
|
||||
// TypeError: (28-33): Expected a value of type "i32" but got "i64"
|
||||
// TypeError: (46-51): Expected a value of type "i32" but got "i64"
|
||||
// TypeError 3781: (28-33): Expected a value of type "i32" but got "i64"
|
||||
// TypeError 3781: (46-51): Expected a value of type "i32" but got "i64"
|
||||
|
||||
@@ -6,5 +6,5 @@
|
||||
// ====
|
||||
// dialect: evmTyped
|
||||
// ----
|
||||
// TypeError: (24-33): Expected a value of type "u256" but got "bool"
|
||||
// TypeError: (46-55): Expected a value of type "u256" but got "bool"
|
||||
// TypeError 3781: (24-33): Expected a value of type "u256" but got "bool"
|
||||
// TypeError 3781: (46-55): Expected a value of type "u256" but got "bool"
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
// ====
|
||||
// dialect: ewasm
|
||||
// ----
|
||||
// TypeError: (23-24): Expected a value of boolean type "i32" but got "i64"
|
||||
// TypeError 1733: (23-24): Expected a value of boolean type "i32" but got "i64"
|
||||
|
||||
@@ -8,5 +8,5 @@
|
||||
// ====
|
||||
// dialect: evmTyped
|
||||
// ----
|
||||
// TypeError: (126-127): Assigning value of type "bool" to variable of type "u256.
|
||||
// TypeError: (129-136): Assigning value of type "u256" to variable of type "bool.
|
||||
// TypeError 3947: (126-127): Assigning value of type "bool" to variable of type "u256.
|
||||
// TypeError 3947: (129-136): Assigning value of type "u256" to variable of type "bool.
|
||||
|
||||
Reference in New Issue
Block a user