Deprecate TypeList::PureType(), replace with TypeList::GetPureType()

This commit is contained in:
Jon Siwek 2020-05-06 20:58:40 -07:00
parent 9ab7150883
commit 011866a908
8 changed files with 21 additions and 14 deletions

View file

@ -4528,10 +4528,10 @@ IntrusivePtr<BroType> ListExpr::InitType() const
ti->AsTypeList();
if ( ! til->IsPure() ||
! til->AllMatch(til->PureType(), true) )
! til->AllMatch(til->GetPureType(), true) )
tl->Append({NewRef{}, til});
else
tl->Append({NewRef{}, til->PureType()});
tl->Append(til->GetPureType());
}
else
tl->Append({NewRef{}, ti});