You de-reference the `ref`, like this:
    
    
    proc foo(i: var int) = discard
    
    let a = new int
    foo(a[])
    #    ^~ dereference operator
    
    
    Run

Reply via email to