dart-sdk/tests
Paul Berry c175d48343 Front end: fix type inference for object patterns that refer to typedefs.
I've also added some runtime checks to
`tests/language/patterns/object_pattern_inference_test.dart` to verify
that the object patterns match when they should match and don't match
when they shouldn't; this helps verify that not only has the front end
inferred the correct type for the object patterns, but it has also
stored the correct type in the kernel representation.

Fixes #51795.

Bug: https://github.com/dart-lang/sdk/issues/51795
Change-Id: I73ce43e440db50d9942deb4a1eb4ee68a5c23142
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/290900
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2023-03-24 12:20:08 +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 Clean up a number of 2.19 opt outs in language tests. 2023-03-17 16:17:50 +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 Reland "[vm/ffi] Add class modifiers" 2023-03-21 15:25:10 +00:00
ffi_2 [vm] Fix Dart_CObject_Type breaking change 2023-02-20 11:59:19 +00:00
language Front end: fix type inference for object patterns that refer to typedefs. 2023-03-24 12:20:08 +00:00
language_2 [ddc] Fixing switch label finder. 2023-03-22 16:35:18 +00:00
lib Revert "Reland "Add class modifiers to dart:convert."" 2023-03-23 12:19:33 +00:00
lib_2 Revert "Reland "Add class modifiers to dart:convert."" 2023-03-23 12:19:33 +00:00
modular [Reland][cfe] Support external constructor with final fields 2023-01-17 17:29:28 +00:00
standalone Reland "[build] Handle cases for dart_target_arch != target_arch and target_cpu != host_cpu." 2023-03-22 14:57:27 +00:00
standalone_2 Reland "[vm/ffi] Add class modifiers" 2023-03-21 15:25:10 +00:00
web [js_util] Make callMethod take an Object method. 2023-03-23 00:23:00 +00:00
web_2 Add test for http://dartbug.com/51527 2023-03-22 20:09:03 +00:00
legacy_status_dart2js.csv Spelling tests 2022-12-19 12:56:47 +00:00
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.