You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)
dart2js also allows assert(x = true). Both implementations are wrong. I suspect that there is code that may depend on this, maybe on purpose. For example, tests/standalone/io/file_constructor_test.dart.
This means that the vm and dart2js already implement the right semantics, but the analyzer should be adjusted. Created a new issue for the adjustment of the analyzer and one for the spec.
area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)
Grammar of assert statements is:
This does not allow assignment expressions directly as the expression.
The VM allows the syntax:
Analyzer now catches the syntax error.
The text was updated successfully, but these errors were encountered: