Where would the compiler bug be?

You define a proc named `int`, so when encountering `int(k)`, the compiler 
tries to call this proc instead of doing a type conversion. I'd say, it behaves 
as expected.

Since types are not keywords in Nim, it is not per se illegal to name a proc 
`int`.

Reply via email to