Like I said ref's do not have a `$` defined and when the default `$` for 
objects is called it replaces shows `...` for the output. This can be seen in 
the following aswell
    
    
    type NotInt = distinct int
    echo (NotInt(10), )
    
    
    Run

You need to implement your own `$` to change the behaviour for instance:
    
    
    type NotInt = distinct int
    proc `$`(n: NotInt): string = "NotInt(" & $int(n) & ")"
    echo (NotInt(10), )
    
    
    Run

Reply via email to