diff options
author | chriseth <chris@ethereum.org> | 2018-06-21 19:57:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-21 19:57:59 +0800 |
commit | 0d1047181d22c049aa5573acf9826d1701dd66ae (patch) | |
tree | 2e0295bb85a9a24b97ee6a7c3316d82369805ada /test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationScoping2.sol | |
parent | 7e4bd3e3468ec1d240068fde5b45f380cdef411c (diff) | |
parent | 8862b3092bcdbcb8314ec27e2b11bf25fcc6346a (diff) | |
download | dexon-solidity-0d1047181d22c049aa5573acf9826d1701dd66ae.tar.gz dexon-solidity-0d1047181d22c049aa5573acf9826d1701dd66ae.tar.zst dexon-solidity-0d1047181d22c049aa5573acf9826d1701dd66ae.zip |
Merge pull request #4306 from ethereum/remove_050_workaround_scoping
[BREAKING] C99 scoping rules by default (remove 050 workaround)
Diffstat (limited to 'test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationScoping2.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationScoping2.sol | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationScoping2.sol b/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationScoping2.sol index e21181de..242a1f39 100644 --- a/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationScoping2.sol +++ b/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationScoping2.sol @@ -1,5 +1,3 @@ -pragma experimental "v0.5.0"; - contract C { function f() internal { { @@ -8,6 +6,6 @@ contract C { } } // ---- -// DeclarationError: (110-111): Undeclared identifier. Did you mean "a"? -// DeclarationError: (113-114): Undeclared identifier. Did you mean "b"? -// DeclarationError: (116-117): Undeclared identifier. Did you mean "c"? +// DeclarationError: (79-80): Undeclared identifier. "a" is not (or not yet) visible at this point. +// DeclarationError: (82-83): Undeclared identifier. "b" is not (or not yet) visible at this point. +// DeclarationError: (85-86): Undeclared identifier. "c" is not (or not yet) visible at this point. |