diff options
author | chriseth <chris@ethereum.org> | 2018-02-22 23:16:27 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-03-02 00:19:35 +0800 |
commit | a53d6b499d5cc5c45fc096cea6393dc285581f90 (patch) | |
tree | 751f9bf0eb4595df500214594865ab12c6bdb4a2 /libsolidity/interface | |
parent | f2f61f1c2f3b4d553c07fcf1746f49e799cb7aa4 (diff) | |
download | dexon-solidity-a53d6b499d5cc5c45fc096cea6393dc285581f90.tar dexon-solidity-a53d6b499d5cc5c45fc096cea6393dc285581f90.tar.gz dexon-solidity-a53d6b499d5cc5c45fc096cea6393dc285581f90.tar.bz2 dexon-solidity-a53d6b499d5cc5c45fc096cea6393dc285581f90.tar.lz dexon-solidity-a53d6b499d5cc5c45fc096cea6393dc285581f90.tar.xz dexon-solidity-a53d6b499d5cc5c45fc096cea6393dc285581f90.tar.zst dexon-solidity-a53d6b499d5cc5c45fc096cea6393dc285581f90.zip |
Use EVM version in type checker.
Diffstat (limited to 'libsolidity/interface')
-rw-r--r-- | libsolidity/interface/CompilerStack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp index 2f733825..cb1ca3aa 100644 --- a/libsolidity/interface/CompilerStack.cpp +++ b/libsolidity/interface/CompilerStack.cpp @@ -205,7 +205,7 @@ bool CompilerStack::analyze() m_contracts[contract->fullyQualifiedName()].contract = contract; } - TypeChecker typeChecker(m_errorReporter); + TypeChecker typeChecker(m_evmVersion, m_errorReporter); for (Source const* source: m_sourceOrder) for (ASTPointer<ASTNode> const& node: source->ast->nodes()) if (ContractDefinition* contract = dynamic_cast<ContractDefinition*>(node.get())) |