fixes the integer conversion regressions
This commit is contained in:
parent
c94f5bfb06
commit
20774ad43c
7 changed files with 29 additions and 26 deletions
|
|
@ -284,7 +284,7 @@ when not defined(js):
|
|||
proc newFileStream*(filename: string, mode: FileMode): FileStream =
|
||||
## creates a new stream from the file named `filename` with the mode `mode`.
|
||||
## If the file cannot be opened, nil is returned. See the `system
|
||||
## <system.html>`_ module for a list of available TFileMode enums.
|
||||
## <system.html>`_ module for a list of available FileMode enums.
|
||||
var f: File
|
||||
if open(f, filename, mode): result = newFileStream(f)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue