compiler: Fix determining types for builtin complex function.
From-SVN: r191631
This commit is contained in:
parent
7fe6b90c9c
commit
c8a36a9903
|
@ -7482,7 +7482,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())
|
||||
|
|
Loading…
Reference in New Issue