Hi, i'm using 
    
    
    let m = memfiles.open("text.txt", mode = fmRead)
    
    
    Run

and try to call 
    
    
    let f open("another.txt")
    
    
    Run

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)
    
    
    Run

It's impossible call open as io.open so how do i force the right call?

Reply via email to