I'm glad i came across this thread, because i ran into a very ugly error with:
    
    
    type
      Thing[I] = object
        things: array[I, int]
    
    echo Thing[5]()
    
    # Error: unhandled exception: int128.nim(72, 11) `arg.sdata(2) == 0` out of 
range [AssertionError]
    
    
    Run

Changing it to `Thing[I: static[int]]` fixes it but the error made me think i 
hit a compiler bug.

Reply via email to