From c98081438fac84d2e80deae28f92a74d47f3dbb8 Mon Sep 17 00:00:00 2001 From: Lefteris Karapetsas Date: Mon, 10 Aug 2015 23:49:46 +0200 Subject: [PATCH] Fix an error in a type resolution SOL test This will also fix the build. --- test/libsolidity/SolidityNameAndTypeResolution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index ba5a5a60f..3daabc85e 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/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); }