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:
@@ -14,14 +14,14 @@ contract C {
|
||||
// ====
|
||||
// EVMVersion: >=constantinople
|
||||
// ----
|
||||
// TypeError: (64-98): Cannot set option "value", since the constructor of contract D is not payable.
|
||||
// TypeError: (64-98): Function call option "gas" cannot be used with "new".
|
||||
// TypeError: (102-123): Unknown call option "slt". Valid options are "salt", "value" and "gas".
|
||||
// TypeError: (102-123): Cannot set option "value", since the constructor of contract D is not payable.
|
||||
// TypeError: (127-139): Unknown call option "val". Valid options are "salt", "value" and "gas".
|
||||
// TypeError: (143-172): Duplicate option "salt".
|
||||
// TypeError: (176-199): Cannot set option "value", since the constructor of contract D is not payable.
|
||||
// TypeError: (176-199): Cannot set option "value", since the constructor of contract D is not payable.
|
||||
// TypeError: (203-220): Unknown call option "random". Valid options are "salt", "value" and "gas".
|
||||
// TypeError: (224-242): Unknown call option "what". Valid options are "salt", "value" and "gas".
|
||||
// TypeError: (246-259): Function call option "gas" cannot be used with "new".
|
||||
// TypeError 7006: (64-98): Cannot set option "value", since the constructor of contract D is not payable.
|
||||
// TypeError 9903: (64-98): Function call option "gas" cannot be used with "new".
|
||||
// TypeError 9318: (102-123): Unknown call option "slt". Valid options are "salt", "value" and "gas".
|
||||
// TypeError 7006: (102-123): Cannot set option "value", since the constructor of contract D is not payable.
|
||||
// TypeError 9318: (127-139): Unknown call option "val". Valid options are "salt", "value" and "gas".
|
||||
// TypeError 9886: (143-172): Duplicate option "salt".
|
||||
// TypeError 7006: (176-199): Cannot set option "value", since the constructor of contract D is not payable.
|
||||
// TypeError 7006: (176-199): Cannot set option "value", since the constructor of contract D is not payable.
|
||||
// TypeError 9318: (203-220): Unknown call option "random". Valid options are "salt", "value" and "gas".
|
||||
// TypeError 9318: (224-242): Unknown call option "what". Valid options are "salt", "value" and "gas".
|
||||
// TypeError 9903: (246-259): Function call option "gas" cannot be used with "new".
|
||||
|
||||
Reference in New Issue
Block a user