Open r0mainK opened 5 years ago
Hmm, this one is interesting. Usually, the namespaces
transform stage traverses all the nodes and adds namespaces to any node that doesn't have it already. I wonder why this case is different?
@dennwc found 3 more cases: Parameter_expansion_operator_':+'
, Parameter_expansion_operator_':='
and Parameter_expansion_operator_':?'
.
I'm guessing there is some issue related to the parsing of :
The type
Parameter_expansion_operator_':-'
is missing thebash:
prefix, unlikeParameter_expansion_operator_'!'
orParameter_expansion_operator_'-'
,in Semantic mode.You can see this by parsing
export foo=${foo:-bar}
.