for i in 0..5:
    

closureScope:
    let x = i

test.add(
    proc () = echo x

)

test[3]() 

Reply via email to