make tests green again

This commit is contained in:
Andreas Rumpf
2016-07-18 14:57:22 +02:00
parent 3193a99b13
commit 267855f9fb

View File

@@ -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