diff options
author | Christian Parpart <christian@parpart.family> | 2018-08-04 01:30:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-04 01:30:33 +0800 |
commit | a4ee1dfc8308328e55141abed4a1e2286495469a (patch) | |
tree | d1dd367445f3e8dc909fa64587df598911a2cf2b /test/libsolidity/syntaxTests/inlineAssembly/function_call_to_label.sol | |
parent | 2c2d4c47ea9cbd485385cf943079d62ef4d84566 (diff) | |
parent | 43c01361f3bb1b2ffebbb82bb24ec7fecbb52d16 (diff) | |
download | dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.tar dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.tar.gz dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.tar.bz2 dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.tar.lz dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.tar.xz dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.tar.zst dexon-solidity-a4ee1dfc8308328e55141abed4a1e2286495469a.zip |
Merge pull request #4412 from ethereum/v050-reference-resolver-errorTypeForLoose
[BREAKING] permanently set errorTypeForLoose from Warning to SyntaxError
Diffstat (limited to 'test/libsolidity/syntaxTests/inlineAssembly/function_call_to_label.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/inlineAssembly/function_call_to_label.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/libsolidity/syntaxTests/inlineAssembly/function_call_to_label.sol b/test/libsolidity/syntaxTests/inlineAssembly/function_call_to_label.sol index 5de492e1..150fb938 100644 --- a/test/libsolidity/syntaxTests/inlineAssembly/function_call_to_label.sol +++ b/test/libsolidity/syntaxTests/inlineAssembly/function_call_to_label.sol @@ -8,6 +8,6 @@ contract C { } } // ---- -// Warning: (63-64): The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead. -// Warning: (63-64): Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead. +// SyntaxError: (63-64): The use of labels is disallowed. Please use "if", "switch", "for" or function calls instead. +// SyntaxError: (63-64): Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead. // TypeError: (73-74): Attempt to call label instead of function. |