diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-08-11 05:49:46 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-08-11 05:49:46 +0800 |
commit | 4907bda371804b152c7af71a1ba818cda5da60c4 (patch) | |
tree | edf21394724e463b781f1b984947d6f94b5f05cf | |
parent | 0d66d8cf7c25708c24a823c2e5fc62e762251d61 (diff) | |
download | dexon-solidity-4907bda371804b152c7af71a1ba818cda5da60c4.tar.gz dexon-solidity-4907bda371804b152c7af71a1ba818cda5da60c4.tar.zst dexon-solidity-4907bda371804b152c7af71a1ba818cda5da60c4.zip |
Fix an error in a type resolution SOL test
This will also fix the build.
-rw-r--r-- | libsolidity/SolidityNameAndTypeResolution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/SolidityNameAndTypeResolution.cpp b/libsolidity/SolidityNameAndTypeResolution.cpp index ba5a5a60..3daabc85 100644 --- a/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/libsolidity/SolidityNameAndTypeResolution.cpp @@ -1906,7 +1906,7 @@ BOOST_AUTO_TEST_CASE(reference_compare_operators) )"; BOOST_CHECK_THROW(parseTextAndResolveNames(sourceCode1), TypeError); char const* sourceCode2 = R"( - contract test { struct s {uint a;}; s x; s y; function() { x == y; } } + contract test { struct s {uint a;} s x; s y; function() { x == y; } } )"; BOOST_CHECK_THROW(parseTextAndResolveNames(sourceCode2), TypeError); } |