Commit a7a90456 by Ian Lance Taylor

compiler: Fix determining types for builtin complex function.

From-SVN: r191630
parent a90df91e
......@@ -7476,7 +7476,7 @@ Builtin_call_expression::do_determine_type(const Type_context* context)
if (args != NULL && args->size() == 2)
{
Type* t1 = args->front()->type();
Type* t2 = args->front()->type();
Type* t2 = args->back()->type();
if (!t1->is_abstract())
arg_type = t1;
else if (!t2->is_abstract())
......
Markdown is supported
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