mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Deprecate TypeList::PureType(), replace with TypeList::GetPureType()
This commit is contained in:
parent
9ab7150883
commit
011866a908
8 changed files with 21 additions and 14 deletions
|
@ -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});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue