aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-04-23 00:53:58 +0800
committerLiana Husikyan <liana@ethdev.com>2015-04-27 19:08:32 +0800
commit88536f90e8403239380c280176250390bab2cd8d (patch)
tree7ca4aa77cf9e039c02265ebdaa3d6650680931c8 /ExpressionCompiler.cpp
parent648ce852561a1a28bebf3be1a64480aee560bf7a (diff)
downloaddexon-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.cpp15
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);