dart-sdk/tests
Robert Nystrom d52fe19dee Add tests for non-primitive equality in switch cases.
Even when a switch case only contains a constant (and not some more
complex pattern), Dart 3.0 changes the semantics and allows constants
of types that don't have primitive equality.

Add some tests for that.

Change-Id: Id3578d017822695451d7e44590fa349a8191a310
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/287663
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2023-03-10 02:39:28 +00:00
..
co19 [test_runner] Cleanup unused compiler names 2023-03-07 02:09:16 +00:00
co19_2 [test_runner] Cleanup unused compiler names 2023-03-07 02:09:16 +00:00
corelib Add boolean parse 2023-03-09 15:14:32 +00:00
corelib_2 [test_runner] Cleanup unused compiler names 2023-03-07 02:09:16 +00:00
dartdevc [flip-modifiers]: opt out failing ddc tests from class modifiers 2023-03-02 20:27:25 +00:00
dartdevc_2 [test_runner] Cleanup unused compiler names 2023-03-07 02:09:16 +00:00
ffi [cfe/ffi] Fix Finalizable in for( in ) loops 2023-03-02 09:05:19 +00:00
ffi_2 [vm] Fix Dart_CObject_Type breaking change 2023-02-20 11:59:19 +00:00
language Add tests for non-primitive equality in switch cases. 2023-03-10 02:39:28 +00:00
language_2 Revert "Add more interface and final modifiers to dart:core." 2023-03-09 13:09:57 +00:00
lib [js] Ensure dartify / jsify have inverse semantics. 2023-03-08 00:07:42 +00:00
lib_2 [js] Ensure dartify / jsify have inverse semantics. 2023-03-08 00:07:42 +00:00
modular
standalone [gardening] Make new standalone/io/exit_works_with_blocked_isolate_test be a nop in the training run 2023-03-08 10:22:46 +00:00
standalone_2 [test_runner] Cleanup unused compiler names 2023-03-07 02:09:16 +00:00
web [flip-patterns] Fix web switch tests. 2023-03-09 01:13:09 +00:00
web_2 [test_runner] Unify name for passing DDC options 2023-02-14 20:13:57 +00:00
legacy_status_dart2js.csv
OWNERS
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.