diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/types.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/types.nim b/compiler/types.nim index 63c5b66f2..fe7a60a12 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..<t.len: |