mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
changed the test so constructor will have input parameters
This commit is contained in:
+13
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user