type Unit = ref object
      name: string
    
    echo Unit(name: "Zeratul")
    
    
    Run

@alexeypetrushin: your new type `Unit` lacks `$` operator need by echo. 
Replacing the last line with 
    
    
    echo Unit(name: "Zeratul").repr
    
    
    Run

works as expected.\--Leo|   
---|---

Reply via email to