mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-28 02:03:59 +00:00
Fixes incorrect scoping in semstmts.semTry.
This commit is contained in:
@@ -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() =
|
||||
|
||||
Reference in New Issue
Block a user