-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
repr doesn't work with a File object on devel
Example
# Compile with nim c --gc:arc file.nim
import os
var a: File
echo repr aCurrent Output
/home/dian/stuff/nim-cephei/test.nim(5, 11) Error: ambiguous call; both repr_v2.repr(x: ref T or ptr T) [declared in /home/dian/.nim/lib/system/repr_v2.nim(106, 6)] and repr_v2.repr(x: ptr T) [declared in /home/dian/.nim/lib/system/repr_v2.nim(102, 6)] match for: (File)
Nim compiler hash is fc5dd11
juancarlospaco
Metadata
Metadata
Assignees
Labels
No labels