dart-archive / angular_analyzer_plugin

WORK MOVED TO dart-lang/angular repository
https://github.com/dart-lang/angular/tree/master/angular_analyzer_plugin
68 stars 13 forks source link

Fix #631 more disallowed operators #638

Closed MichaelRFairhurst closed 5 years ago

MichaelRFairhurst commented 5 years ago

@leonsenft yeah, I suppose if I were a full time member of the angular team I probably would have put the effort into supporting compound assignment and unary operators.

That said, if we don't have support, I definitely want to catch it.

For instance, --x is treated as -(-x)!! So no error for using it, and it becomes a noop! Very confusing.