summary refs log tree commit diff stats
path: root/tests/effects
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2019-02-06 21:00:00 +0100
committerGitHub <noreply@github.com>2019-02-06 21:00:00 +0100
commit0036014727a90886e47c658e72e0936c2193fdbb (patch)
tree9dbaed12e2b17d9c5ed5a0a59dd24b709714269a /tests/effects
parent65f3e390e814f84fe745d1894cea7e2f6c881ec3 (diff)
downloadNim-0036014727a90886e47c658e72e0936c2193fdbb.tar.gz
system refactorings (#10559)
* move IO subsystem into its own module; refs #10385
* make standalone test compile again
* make C++ examples compile again
* make more tests green
* make sysAssert and gcAssert work again
Diffstat (limited to 'tests/effects')
-rw-r--r--tests/effects/teffects1.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/effects/teffects1.nim b/tests/effects/teffects1.nim
index 767845cb4..8f827110c 100644
--- a/tests/effects/teffects1.nim
+++ b/tests/effects/teffects1.nim
@@ -1,10 +1,10 @@
 discard """
   errormsg: "can raise an unlisted exception: ref IOError"
-  file: "system.nim"
+  file: "io.nim"
 """
 
 type
-  TObj = object {.pure, inheritable.}
+  TObj {.pure, inheritable.} = object
   TObjB = object of TObj
     a, b, c: string