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
Error: index out of bounds, the container is emptys1[0]
$ nim -v
Nim Compiler Version 1.7.1 [Linux: amd64]
Compiled at 2022-05-05
Copyright (c) 2006-2022 by Andreas Rumpf
git hash: 278ecad973c6581aeea0a6ff9372109b0dd6df5e
active boot switches: -d:release
If you have a const string it will not short-circuit and will not compile:
Example
Current Output
Expected Output
I would expect it to work similar to
let
orvar
.output:
That works fine.
The
const
make it work more like some sort of substitution:output:
Same thing happens with
static
values:output:
Related issue: related #19492
The text was updated successfully, but these errors were encountered: