Fixes incorrect scoping in semstmts.semTry.
This commit is contained in:
parent
1c233ba27a
commit
4661ae22dd
2 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,6 @@ proc test[T]() =
|
|||
raise newException(T, "Hello")
|
||||
except T as foobar:
|
||||
echo(foobar.msg)
|
||||
echo(declared(foobar))
|
||||
doAssert(not declared(foobar))
|
||||
|
||||
template testTemplate() =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue