Re: "U64: static[int]" as type paratmeter => "cannot generate code for: U64"

2018-01-29 Thread Araq
The error message means that you are trying to compute something at compile-time that the compiler doesn't support (yet?). The VM (and the compiler in general) still has a hard time with this `static[T]` "values are used as types" mess.

"U64: static[int]" as type paratmeter => "cannot generate code for: U64"

2018-01-28 Thread monster
I've been playing with the idea type that would allow quick cross-architecture convertion for serialisation. I'm geting a compile error, and I'd like to know if I'm doing anything qrong, or if this is a current limitation of the Nim compiler. type Uint8Array* {.unchecked.}