mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-18 02:27:10 +00:00
* fix #12938 nim compiler assertion fail when literal integer is passed as template argument for array size * use new flag tfImplicitStatic * fix * fix #14193 * correct tfUnresolved add condition * clean test
7 lines
113 B
Nim
7 lines
113 B
Nim
type
|
|
Task*[N: int] = object
|
|
env*: array[N, byte]
|
|
|
|
var task14193: Task[20]
|
|
doAssert task14193.env.len == 20
|