fixes #7215
This commit is contained in:
parent
83a8019027
commit
89782460a3
3 changed files with 7 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue