Nim/tests/types/t5640.nim
2017-04-07 21:57:04 +03:00

6 lines
116 B
Nim

type
vecBase[I: static[int]] = distinct array[I, float32]
vec2* = vecBase[2]
var v = vec2([0.0'f32, 0.0'f32])