Fixes incorrect scoping in semstmts.semTry.

This commit is contained in:
Dominik Picheta
2017-02-06 19:02:51 +01:00
parent 1c233ba27a
commit 4661ae22dd
2 changed files with 2 additions and 2 deletions

View File

@@ -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() =