diff options
author | Christian <c@ethdev.com> | 2014-11-21 01:33:23 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-11-24 04:28:44 +0800 |
commit | c5a012cdca3ca02bce3946945acbd610a928b7eb (patch) | |
tree | 69d84a1805ca675697513998e37a3390322f184c /solidityExpressionCompiler.cpp | |
parent | 596e7030f7bcdc15803807cbde690236b35d6ec8 (diff) | |
download | dexon-solidity-c5a012cdca3ca02bce3946945acbd610a928b7eb.tar.gz dexon-solidity-c5a012cdca3ca02bce3946945acbd610a928b7eb.tar.zst dexon-solidity-c5a012cdca3ca02bce3946945acbd610a928b7eb.zip |
Contracts as types and framework for special global variables.
Diffstat (limited to 'solidityExpressionCompiler.cpp')
-rw-r--r-- | solidityExpressionCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solidityExpressionCompiler.cpp b/solidityExpressionCompiler.cpp index 59a9e933..6ea66bad 100644 --- a/solidityExpressionCompiler.cpp +++ b/solidityExpressionCompiler.cpp @@ -88,7 +88,7 @@ bytes compileFirstExpression(const string& _sourceCode, vector<vector<string>> _ Parser parser; ASTPointer<ContractDefinition> contract; BOOST_REQUIRE_NO_THROW(contract = parser.parse(make_shared<Scanner>(CharStream(_sourceCode)))); - NameAndTypeResolver resolver; + NameAndTypeResolver resolver({}); BOOST_REQUIRE_NO_THROW(resolver.resolveNamesAndTypes(*contract)); FirstExpressionExtractor extractor(*contract); BOOST_REQUIRE(extractor.getExpression() != nullptr); |