> Seems like type inference is used to distinguish between owned ref/ref. Isn't 
> this a pattern to be avoided in Nim? What are the alternatives?

I haven't put much thought into this but you're right. How about
    
    
    let dangling = unowned x
    
    
    Run

?

Reply via email to