mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 04:57:49 +00:00
make streams.close more forgiving in order to break less code out there
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user