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
Currently typedesc assignments are only allowed with const variables, but they should also be allowed with let/var so long as they are in a static/const/when context:
const C =
block:
let t : typedesc[int] = int
...
when(
block:
let t : typedesc[int] = int
true
):
...
static:
let t : typedesc[int] = int
...
The text was updated successfully, but these errors were encountered:
Currently
typedesc
assignments are only allowed withconst
variables, but they should also be allowed withlet
/var
so long as they are in astatic
/const
/when
context:The text was updated successfully, but these errors were encountered: