You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ nim -v
Nim Compiler Version 1.2.0 [Windows: amd64]
Compiled at 2020-04-03
Copyright (c) 2006-2020 by Andreas Rumpf
git hash: 7e83adff84be5d0c401a213eccb61e321a3fb1ff
active boot switches: -d:release
The text was updated successfully, but these errors were encountered:
Creating an array of types, crashes the compiler.
Example
Current Output
But this works:
Expected Output
A nice error if forbidden on a non-static context.
Possible Solution
Not sure.
Additional Information
Latest version on Nim playground:
https://play.nim-lang.org/#ix=2lEF
On my computer:
The text was updated successfully, but these errors were encountered: