diff options
author | Araq <rumpf_a@web.de> | 2020-03-16 09:52:18 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-03-16 14:55:58 +0100 |
commit | 3a6b4704122f84f9cf1d9cc227f303d2eee3bc66 (patch) | |
tree | 959dfc468d9187414264a97ae941c78b63701ec5 /compiler | |
parent | 7205c3ebe2e4e0d57be265214c6a4ac8fa8c1d78 (diff) | |
download | Nim-3a6b4704122f84f9cf1d9cc227f303d2eee3bc66.tar.gz |
minor code style change
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: |