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
Expression a >>> b in case of b < 0 results in a compile-time error if that evaluation happens at compile time - in constant context. Otherwise, the expression is evaluated at run time and throws a run-time error.
The test co19/src/Language/Expressions/Shift/integer_t04.dart (and co19_2/src/Language/Expressions/Shift/integer_t04.dart) incorrectly expects compile-time errors when expressions are not constants.
The tests co19/src/LanguageFeatures/nnbd/triple-shift/local_variable_read_A02_t03.dart and co19/src/LanguageFeatures/nnbd/weak/triple-shift/local_variable_read_A02_t03.dart have the following expectation:
Expect.throws(() {x >>>=2;});
This expectation doesn't look correct. Why would it throw an exception? Maybe it should use y instead of x.
Add/update co19 tests for "Allow >>> as overridable operator" feature. Specification
Meta-issue dart-lang/sdk#44911
The text was updated successfully, but these errors were encountered: