summary refs log tree commit diff stats
path: root/compiler/sigmatch.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-07-18 14:57:22 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-07-18 14:57:22 +0200
commit267855f9fb41ee1fbbce9fc6cfa2e637d6e0ff93 (patch)
tree48e13505821bb32e1a237abcdb65c229fc38941f /compiler/sigmatch.nim
parent3193a99b13591e1f987de9b66c44934bfdb1fd33 (diff)
downloadNim-267855f9fb41ee1fbbce9fc6cfa2e637d6e0ff93.tar.gz
make tests green again
Diffstat (limited to 'compiler/sigmatch.nim')
-rw-r--r--compiler/sigmatch.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/sigmatch.nim b/compiler/sigmatch.nim
index a3b9de5f4..4a5132d6d 100644
--- a/compiler/sigmatch.nim
+++ b/compiler/sigmatch.nim
@@ -384,7 +384,7 @@ proc skipToGenericBody(t: PType; skipped: var SkippedPtr): PType =
       inc ptrs
       skipped = skippedPtr
       r = r.lastSon
-    of tyGenericBody:
+    of tyGenericBody, tyObject:
       r = r.lastSon
     else:
       break