Closed Wilfred closed 5 years ago
I don't think this is worth fixing. It's unlikely that users will be confused by $foo$bar
(I think), and I'm concerned about additional implementation complexity. Fixing this would require another entry in hack--syntax-propertize-function
, and since $foo
is very common in Hack code, it might hurt performance.
We should only recognise $ at the beginning of a symbol as a symbol constituent.