make tests green again
This commit is contained in:
parent
9b31f67859
commit
0926754e68
31 changed files with 61 additions and 55 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue