`uint(-1)` doesn't work only because it can be proven bad at compile time. The 
following compiles and overflows:
    
    
    var i = -1
    echo uint(i)
    
    
    Run

Reply via email to