fixes a critical =trace generation bug (see test case) (#14140)
This commit is contained in:
parent
2f1aad0264
commit
065a6af2de
3 changed files with 22 additions and 2 deletions
|
|
@ -253,7 +253,7 @@ proc searchTypeForAux(t: PType, predicate: TTypePredicate,
|
|||
else:
|
||||
discard
|
||||
|
||||
proc searchTypeFor(t: PType, predicate: TTypePredicate): bool =
|
||||
proc searchTypeFor*(t: PType, predicate: TTypePredicate): bool =
|
||||
var marker = initIntSet()
|
||||
result = searchTypeForAux(t, predicate, marker)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue