This commit is contained in:
Andreas Rumpf 2018-02-14 10:09:35 +01:00
commit 89782460a3
3 changed files with 7 additions and 4 deletions

View file

@ -1661,7 +1661,7 @@ proc isException*(t: PType): bool =
# check if `y` is object type and it inherits from Exception
assert(t != nil)
if t.kind != tyObject:
if t.kind != tyObject:
return false
var base = t