The following with simply using const instead of let works :
proc p(s:static[string]):NimNode {.compileTime.} = ...
static:
let t = "SomeType"
echo p(t).repr
Run
- Error using `bindSym` at compile time deech
- Error using `bindSym` at compile time Clonk
