Fix bug in TApp case of Type::hasTypeVar()
This commit is contained in:
parent
ebfcb2a2eb
commit
eef23feb1c
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ namespace bolt {
|
|||
case TypeKind::App:
|
||||
{
|
||||
auto App = static_cast<TApp*>(this);
|
||||
return App->Op->hasTypeVar(TV) && App->Arg->hasTypeVar(TV);
|
||||
return App->Op->hasTypeVar(TV) || App->Arg->hasTypeVar(TV);
|
||||
}
|
||||
case TypeKind::TupleIndex:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue