jxy Wed, 26 Jun 2019 22:15:32 -0700
`var` is not a compile time variable. You need a `const`.
There are ways to write wrong code with a good language.