I don't know how to make it work with `: var t`, maybe a bug or not supported; 
works with `template getMutableVal(key: int, t: typedesc): var typed =`.

I assume you need `0.getMutableVal(bool) = false` syntax, otherwise you can 
pass types as a generic parameter (`proc getMutableVal[t]...`), that works with 
`: var t`.

Reply via email to