Closed
Description
I like using ref names in my CSS so I'm often tempted to use dash-style names such as ref:chart-container
. If I use a dash, though, I get a cryptic error Assigning to rvalue
. This took me a little while to figure out what I was doing wrong but it's because I believe the compiler creates code like this.refs.chart-container
, which obviously isn't proper JavaScript. Here's the error in the REPL
It would be a nice to have but I don't really care if I can't (or shouldn't) use dashed names for whatever reason. If the error message can be improved, though, that would be great!
Metadata
Metadata
Assignees
Labels
No labels