Dart2js accepts prefix plus on number literals #11002
Labels
closed-obsolete
Closed as the reported issue is no longer relevant
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
web-dart2js
The spec stopped accepting prefix plus on number literals in version 0.12.
Dart2js still accepts +4 as a number literal. It should be a syntax error (plus is only a binary operator).
The text was updated successfully, but these errors were encountered: