aboutsummaryrefslogtreecommitdiffstats
path: root/solidityCompiler.cpp
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-11-21 01:33:23 +0800
committerChristian <c@ethdev.com>2014-11-24 04:28:44 +0800
commitc5a012cdca3ca02bce3946945acbd610a928b7eb (patch)
tree69d84a1805ca675697513998e37a3390322f184c /solidityCompiler.cpp
parent596e7030f7bcdc15803807cbde690236b35d6ec8 (diff)
downloaddexon-solidity-c5a012cdca3ca02bce3946945acbd610a928b7eb.tar
dexon-solidity-c5a012cdca3ca02bce3946945acbd610a928b7eb.tar.gz
dexon-solidity-c5a012cdca3ca02bce3946945acbd610a928b7eb.tar.bz2
dexon-solidity-c5a012cdca3ca02bce3946945acbd610a928b7eb.tar.lz
dexon-solidity-c5a012cdca3ca02bce3946945acbd610a928b7eb.tar.xz
dexon-solidity-c5a012cdca3ca02bce3946945acbd610a928b7eb.tar.zst
dexon-solidity-c5a012cdca3ca02bce3946945acbd610a928b7eb.zip
Contracts as types and framework for special global variables.
Diffstat (limited to 'solidityCompiler.cpp')
-rw-r--r--solidityCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/solidityCompiler.cpp b/solidityCompiler.cpp
index e0635b6a..1767a0f3 100644
--- a/solidityCompiler.cpp
+++ b/solidityCompiler.cpp
@@ -48,7 +48,7 @@ bytes compileContract(const string& _sourceCode)
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));
Compiler compiler;