Fix infix expressions returning invalid types
This commit is contained in:
parent
7024b8790d
commit
1bba5facc7
1 changed files with 1 additions and 1 deletions
|
@ -693,7 +693,7 @@ namespace bolt {
|
|||
return createTypeVar();
|
||||
}
|
||||
auto OpTy = instantiate(Scm, Infix->Operator);
|
||||
auto Ty = createTypeVar();
|
||||
Ty = createTypeVar();
|
||||
std::vector<Type*> ArgTys;
|
||||
ArgTys.push_back(inferExpression(Infix->LHS));
|
||||
ArgTys.push_back(inferExpression(Infix->RHS));
|
||||
|
|
Loading…
Reference in a new issue