hmm looks like this does work:
static:
var foo = "imastring"
const bar = foo
echo bar
Makes sense I guess but seems a little clunky and you have to invent a new name and probably find the deep copy. They should maybe just automagically turn into const a the end of compile, they're still in the namespace anyway.
