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 /test/libsolidity/SolidityExpressionCompiler.cpp | |
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 'test/libsolidity/SolidityExpressionCompiler.cpp')
-rw-r--r-- | test/libsolidity/SolidityExpressionCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityExpressionCompiler.cpp b/test/libsolidity/SolidityExpressionCompiler.cpp index e2a0c3cd..3a5aa941 100644 --- a/test/libsolidity/SolidityExpressionCompiler.cpp +++ b/test/libsolidity/SolidityExpressionCompiler.cpp @@ -132,7 +132,7 @@ bytes compileFirstExpression( if (ContractDefinition* contract = dynamic_cast<ContractDefinition*>(node.get())) { ErrorReporter errorReporter(errors); - TypeChecker typeChecker(errorReporter); + TypeChecker typeChecker(EVMVersion{}, errorReporter); BOOST_REQUIRE(typeChecker.checkTypeRequirements(*contract)); } for (ASTPointer<ASTNode> const& node: sourceUnit->nodes()) |