diff --git a/doc/manual.rst b/doc/manual.rst index 5ca6da22e1..4ab6803265 100644 --- a/doc/manual.rst +++ b/doc/manual.rst @@ -5160,7 +5160,7 @@ template cannot be accessed in the instantiation context: # so this works: let e = "message" - raise newException(EIO, e) + raise newException(IoError, e) Whether a symbol that is declared in a template is exposed to the instantiation diff --git a/tests/stdlib/tmemfiles2.nim b/tests/stdlib/tmemfiles2.nim index a6f557e857..1b249898ee 100644 --- a/tests/stdlib/tmemfiles2.nim +++ b/tests/stdlib/tmemfiles2.nim @@ -1,5 +1,5 @@ discard """ - file: "tmemfiles2.nim" + disabled: "Windows" output: '''Full read size: 20 Half read size: 10 Data: Hello''' """