fixes tnre regression
This commit is contained in:
parent
80b78b50d0
commit
9d31dfdf1a
1 changed files with 1 additions and 1 deletions
|
|
@ -1734,7 +1734,7 @@ proc isException*(t: PType): bool =
|
||||||
return false
|
return false
|
||||||
|
|
||||||
var base = t
|
var base = t
|
||||||
while base != nil and base.kind in {tyObject, tyGenericInst}:
|
while base != nil and base.kind in {tyRef, tyObject, tyGenericInst}:
|
||||||
if base.sym != nil and base.sym.magic == mException:
|
if base.sym != nil and base.sym.magic == mException:
|
||||||
return true
|
return true
|
||||||
base = base.lastSon
|
base = base.lastSon
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue