Commit 8d896460 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Don't run the typechecker on the actual arguments.

At least for now we ignore the types of the actual arguments
parent 26caf3b2
......@@ -447,13 +447,13 @@ bool ResolveExpression::visit(CallAST *ast)
_results.clear();
// Compute the types of the actual arguments.
QList< QList<Result> > arguments;
for (ExpressionListAST *exprIt = ast->expression_list; exprIt;
exprIt = exprIt->next) {
arguments.append(operator()(exprIt->expression));
}
int actualArgumentCount = 0;
const unsigned actualArgumentCount = arguments.count();
//QList< QList<Result> > arguments;
for (ExpressionListAST *exprIt = ast->expression_list; exprIt; exprIt = exprIt->next) {
//arguments.append(operator()(exprIt->expression));
++actualArgumentCount;
}
Name *functionCallOp = control()->operatorNameId(OperatorNameId::FunctionCallOp);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment