Analyzer complains about assert statement. #12289
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
closed-duplicate
Closed in favor of an existing report
type-enhancement
A request for a change that isn't a bug
The analyzer complains about this assert statement in language/type_error_test.dart:
assert(assertionsEnabled = true);
If = is changed to == the test is accepted (but has the wrong semantics!).
The text was updated successfully, but these errors were encountered: