Should I report this as a bug? I know I can change the file name to resolve the 
problem, but it works well before I use table.

foo.nim 
    
    
    type
      foo* = ref object of RootObj
        data: int
    
    
    Run

bug.nim 
    
    
    import tables
    import foo
    
    type
      R = ref object of RootObj
        T: Table[int, foo]
    
    var f: foo # succeed
    # var r: R # Error: internal error: getTypeDescAux(tyVoid)
    
    
    Run

Reply via email to