Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -447,13 +447,13 @@ bool ResolveExpression::visit(CallAST *ast) ...@@ -447,13 +447,13 @@ bool ResolveExpression::visit(CallAST *ast)
_results.clear(); _results.clear();
// Compute the types of the actual arguments. // Compute the types of the actual arguments.
QList< QList<Result> > arguments; int actualArgumentCount = 0;
for (ExpressionListAST *exprIt = ast->expression_list; exprIt;
exprIt = exprIt->next) {
arguments.append(operator()(exprIt->expression));
}
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); Name *functionCallOp = control()->operatorNameId(OperatorNameId::FunctionCallOp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment