better error messages for Nim's effect system

This commit is contained in:
Araq 2020-03-22 19:32:37 +01:00 • committed by Andreas Rumpf
commit ef2566218e
4 changed files with 46 additions and 21 deletions

View file

@ -1,6 +1,7 @@
discard """
errormsg: "can raise an unlisted exception: ref IOError"
file: "io.nim"
file: "teffects1.nim"
line: 17
"""
type