From 3a6b4704122f84f9cf1d9cc227f303d2eee3bc66 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 16 Mar 2020 09:52:18 +0100 Subject: [PATCH] minor code style change --- compiler/types.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..