make tests green again

This commit is contained in:
Andreas Rumpf 2018-07-05 15:51:04 +02:00
commit 0926754e68
31 changed files with 61 additions and 55 deletions

View file

@ -11,7 +11,7 @@ type
EIO2 = ref object of EIO
proc raiser(): int {.tags: [TObj, FWriteIO].} =
proc raiser(): int {.tags: [TObj, WriteIoEffect].} =
writeLine stdout, "arg"
var o: TObjB

View file

@ -7,11 +7,11 @@ type
TObj = object {.pure, inheritable.}
TObjB = object of TObj
a, b, c: string
fn: proc (): int {.tags: [FReadIO].}
fn: proc (): int {.tags: [ReadIOEffect].}
EIO2 = ref object of EIO
proc q() {.tags: [FIO].} =
proc q() {.tags: [IoEffect].} =
discard
proc raiser(): int =

View file

@ -11,7 +11,7 @@ createMenuItem(s, "Go to definition...",
proc (i: PMenuItem, p: pointer) {.cdecl.} =
try:
echo(i.repr)
except EInvalidValue:
except ValueError:
echo("blah")
)