diff options
author | chriseth <chris@ethereum.org> | 2018-03-06 02:28:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-06 02:28:41 +0800 |
commit | f190b274313131bbc939815a00d49dcd2c3de10d (patch) | |
tree | a85fed93ce1ab146f2235d87a0c1b03de432b65c /test | |
parent | cd6ffbdf790e4d3e4da2e7f3fba5524a2b8c3e1d (diff) | |
parent | 477571e19015f1c7806526d58d0ddffd91fe5823 (diff) | |
download | dexon-solidity-f190b274313131bbc939815a00d49dcd2c3de10d.tar dexon-solidity-f190b274313131bbc939815a00d49dcd2c3de10d.tar.gz dexon-solidity-f190b274313131bbc939815a00d49dcd2c3de10d.tar.bz2 dexon-solidity-f190b274313131bbc939815a00d49dcd2c3de10d.tar.lz dexon-solidity-f190b274313131bbc939815a00d49dcd2c3de10d.tar.xz dexon-solidity-f190b274313131bbc939815a00d49dcd2c3de10d.tar.zst dexon-solidity-f190b274313131bbc939815a00d49dcd2c3de10d.zip |
Merge pull request #3600 from ethereum/version050IsAnalysisOnly
Do not warn about 0.5.0 experimental pragma.
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index 4fb62821..e503c22b 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -102,7 +102,6 @@ BOOST_AUTO_TEST_CASE(double_variable_declaration_050) )"; CHECK_WARNING_ALLOW_MULTI(text, (vector<string>{ "This declaration shadows an existing declaration.", - "Experimental features", "Unused local variable", "Unused local variable" })); @@ -133,7 +132,6 @@ BOOST_AUTO_TEST_CASE(double_variable_declaration_disjoint_scope_050) } )"; CHECK_WARNING_ALLOW_MULTI(text, (vector<string>{ - "Experimental features", "Unused local variable", "Unused local variable" })); @@ -164,7 +162,6 @@ BOOST_AUTO_TEST_CASE(double_variable_declaration_disjoint_scope_activation_050) } )"; CHECK_WARNING_ALLOW_MULTI(text, (vector<string>{ - "Experimental features", "Unused local variable", "Unused local variable" })); @@ -262,7 +259,7 @@ BOOST_AUTO_TEST_CASE(scoping_for) } } )"; - CHECK_WARNING(text, "Experimental features"); + CHECK_SUCCESS_NO_WARNINGS(text); } BOOST_AUTO_TEST_CASE(scoping_for2) @@ -276,7 +273,7 @@ BOOST_AUTO_TEST_CASE(scoping_for2) } } )"; - CHECK_WARNING(text, "Experimental features"); + CHECK_SUCCESS_NO_WARNINGS(text); } BOOST_AUTO_TEST_CASE(scoping_for3) @@ -7674,7 +7671,7 @@ BOOST_AUTO_TEST_CASE(non_external_fallback) function () external { } } )"; - CHECK_WARNING(text, "Experimental features are turned on."); + CHECK_SUCCESS_NO_WARNINGS(text); text = R"( pragma experimental "v0.5.0"; contract C { |