Hi, i'm using
let m = memfiles.open("text.txt", mode = fmRead)
and try to call
let f open("another.txt")
results in
Error: ambiguous call; both io.open(filename: string, mode: FileMode, bufSize: int) [declared in ~/Documents/Nim/lib/system/io.nim(562, 6)] and memfiles.open(filename: string, mode: FileMode, mappedSize: int, offset: int, newFileSize: int, allowRemap: bool, mapFlags: cint) [declared in ~/Documents/Nim/lib/pure/memfiles.nim(98, 6)] match for: (string)
It's impossible call open as io.open so how do i force the right call?