diff options
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r-- | compiler/ast.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim index 02f5ae67e..8286e3bb7 100644 --- a/compiler/ast.nim +++ b/compiler/ast.nim @@ -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 |