mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-14 15:43:45 +00:00
closes #25885
(cherry picked from commit f5c43ad759)
This commit is contained in:
@@ -57,4 +57,8 @@ block:
|
||||
except IOError as e:
|
||||
raise
|
||||
|
||||
f()
|
||||
f()
|
||||
|
||||
block:
|
||||
static: doAssert IOError is Exception
|
||||
proc r(e: ref Exception) {.raises: [IOError].} = raise (ref IOError)(e)
|
||||
|
||||
Reference in New Issue
Block a user