dart-sdk/tests/language/constants_2018
Robert Nystrom e8d44461ce [flip-patterns] Update language/constants_2018/equals_test.dart for primitive equality.
We've changed const `==` to be based on primitive equality. It used to
just be an allowed list of concrete types, but now `==` is a valid
constant expression on any type that has primitive equality.

This change isn't directly part of patterns, but is enabled under the
same flag.

Update this test to the new semantics.

Change-Id: I484bd09f5775319dc49038d70a244c3c1564fe93
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286865
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Jake Macdonald <jakemac@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
2023-03-03 23:39:37 +00:00
..
const_type_test.dart
constant_type_literal_test.dart Corrected unintended syntax error in constant_type_literal_test 2021-02-25 10:42:36 +00:00
constant_type_literal_types.dart
constant_types_test.dart Adjust test to allow type variable as expression 2021-09-28 10:24:05 +00:00
equals_test.dart [flip-patterns] Update language/constants_2018/equals_test.dart for primitive equality. 2023-03-03 23:39:37 +00:00
potential_const_dynamic_test.dart Fixed various typos in a lot of files 2022-07-25 12:21:59 +00:00
potential_const_shortcircuit_test.dart
potential_const_test.dart Fixed various typos in a lot of files 2022-07-25 12:21:59 +00:00
potential_const_type_test.dart Add test of potentially constant scopes. 2020-10-29 10:11:53 +00:00
type_cast_test.dart
type_check_test.dart