Hi everyone! when I try to compile this code into js (e.g. nim js main.nim)
import os
echo getEnv("USER")
I'm getting the follow error:
.choosenim/toolchains/nim-1.2.2/lib/pure/includes/osenv.nim(97, 16) Error: internal error: expr(nkBracketExpr, tyUncheckedArray)
Was this supposed to work?