mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-14 15:43:45 +00:00
@@ -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