diff options
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/streams.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/streams.nim b/lib/pure/streams.nim index b6e77bbc0..cd6f01b6a 100644 --- a/lib/pure/streams.nim +++ b/lib/pure/streams.nim @@ -46,7 +46,7 @@ type ## accessible so that a stream implementation ## can override them. closeImpl*: proc (s: Stream) - {.nimcall, raises: [Defect, IOError, OSError], tags: [], gcsafe.} + {.nimcall, raises: [Exception, IOError, OSError], tags: [ReadIOEffect, WriteIOEffect], gcsafe.} atEndImpl*: proc (s: Stream): bool {.nimcall, raises: [Defect, IOError, OSError], tags: [], gcsafe.} setPositionImpl*: proc (s: Stream, pos: int) |