diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-04-23 00:53:58 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-04-27 19:08:32 +0800 |
commit | 88536f90e8403239380c280176250390bab2cd8d (patch) | |
tree | 7ca4aa77cf9e039c02265ebdaa3d6650680931c8 /ExpressionCompiler.cpp | |
parent | 648ce852561a1a28bebf3be1a64480aee560bf7a (diff) | |
download | dexon-solidity-88536f90e8403239380c280176250390bab2cd8d.tar.gz dexon-solidity-88536f90e8403239380c280176250390bab2cd8d.tar.zst dexon-solidity-88536f90e8403239380c280176250390bab2cd8d.zip |
changed the test so constructor will have input parameters
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r-- | ExpressionCompiler.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp index 8c07fbd1..ae825be1 100644 --- a/ExpressionCompiler.cpp +++ b/ExpressionCompiler.cpp @@ -521,8 +521,19 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall) arguments.front()->accept(*this); appendTypeConversion(*arguments.front()->getType(), *function.getParameterTypes().front(), true); - appendExternalFunctionCall(FunctionType(TypePointers{}, TypePointers{}, - Location::External, false, true, true), {}, true); + appendExternalFunctionCall( + FunctionType( + TypePointers{}, + TypePointers{}, + strings(), + Location::External, + false, + true, + true + ), + {}, + true + ); break; case Location::Suicide: arguments.front()->accept(*this); |