Given this macro
macro type {
case {_ $attr } =>
{
return #{
var a = obj.some$attr
}
}
}
type Attr
I'm trying to get this output:
var a = obj.someAttr;
But what I get is
var a = obj.some$attr;
Adding any non alphanumeric character between some
and $attr
correctly outputs the bound value.