summary refs log tree commit diff stats
path: root/tests/effects/teffects3.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/effects/teffects3.nim')
-rw-r--r--tests/effects/teffects3.nim9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/effects/teffects3.nim b/tests/effects/teffects3.nim
index 1b18f7b6d..4c050510a 100644
--- a/tests/effects/teffects3.nim
+++ b/tests/effects/teffects3.nim
@@ -1,19 +1,18 @@
 discard """
-  line: 18
   errormsg: "type mismatch"
+  line: 18
 """
 
 type
-  TObj = object {.pure, inheritable.}
+  TObj {.pure, inheritable.} = object
   TObjB = object of TObj
     a, b, c: string
     fn: proc (): int {.tags: [].}
 
-  EIO2 = ref object of EIO
 
-proc raiser(): int {.tags: [TObj, FWriteIO].} =
+
+proc raiser(): int {.tags: [TObj, WriteIoEffect].} =
   writeLine stdout, "arg"
 
 var o: TObjB
 o.fn = raiser
-