diff --git a/compiler/types.nim b/compiler/types.nim index 63c5b66f2d..fe7a60a128 100644 --- a/compiler/types.nim +++ b/compiler/types.nim @@ -1611,7 +1611,7 @@ proc isTupleRecursive(t: PType, cycleDetector: var IntSet): bool = return false if cycleDetector.containsOrIncl(t.id): return true - case t.kind: + case t.kind of tyTuple: var cycleDetectorCopy: IntSet for i in 0..