Error: cannot evaluate at compile time
when using var in a static:
block inside a proc
#8758
Labels
const
`const x=expr` or `static: stmt`
reduced from a more complex scenario:
maybe related
{.compileTime.}
var doesn't work inside proc [WONTFIX]{.compileTime.}
var doesn't work inside proc #8733Error: cannot evaluate at compile time
for typedesc parameters (works for generics) [WONTFIX]Error: cannot evaluate at compile time
for typedesc parameters (works for generics) #7596The text was updated successfully, but these errors were encountered: