diff --git a/compiler/types.nim b/compiler/types.nim index fc96810b03..66748c3081 100644 --- a/compiler/types.nim +++ b/compiler/types.nim @@ -621,9 +621,7 @@ type proc initSameTypeClosure: TSameTypeClosure = # we do the initialization lazily for performance (avoids memory allocations) nil - - - + proc containsOrIncl(c: var TSameTypeClosure, a, b: PType): bool = result = not IsNil(c.s) and c.s.contains((a.id, b.id)) if not result: