Files
Nim/tests/effects/teffects8.nim
LemonBoy f23b0a7dc8 Fix handling of reraise in effect tracking (#10582)
This is the MVP in order not to get a completely useless error message
from the compiler.

Fixes #10579
2019-02-07 17:07:03 +01:00

13 lines
170 B
Nim

discard """
errormsg: "can raise an unlisted exception: Exception"
line: 10
"""
proc foo() {.raises: [].} =
try:
discard
except ValueError:
raise
foo()