dart-sdk/tests/language/async
Erik Ernst b483ae4e1c Update flatten_test to avoid run-time errors and type inference anomaly
This CL moves language/unsorted/flatten_test.dart to language/async,
changes it from a multi-test to a regular test, removes some run-time
errors that aren't relevant to the purpose of the test, and removes
a function literal that triggers a type inference anomaly (language
repo issue 3148) which is also not the purpose of this test.

Change-Id: Ib0c84f79476dafd9b6d763062eef687d7432d424
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/309280
Reviewed-by: Lasse Nielsen <lrn@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2023-06-15 09:47:02 +00:00
..
and_or_test.dart [vm] New async/await implementation in the VM, part 2 - vm 2022-04-29 01:03:50 +00:00
async_test.dart [vm] New async/await implementation in the VM, part 2 - vm 2022-04-29 01:03:50 +00:00
await_catch_regression_test.dart
await_flatten_test.dart Reland "[vm] Fix CompileType::CanBeFuture()" 2023-06-15 00:34:18 +00:00
await_foreign_test.dart
await_syntax_test.dart
await_test.dart [tests] Avoid small --optimization-counter-threshold in tests 2022-10-10 21:04:18 +00:00
await_type_check_test.dart [vm] Runtime type check in await 2022-12-07 22:46:22 +00:00
await_user_defined_future_soundness_test.dart [tests] Address comments for language/async/await_user_defined_future_soundness_test 2022-07-02 10:11:42 +00:00
backwards_compatibility_1_test.dart
backwards_compatibility_2_test.dart
break_in_finally_test.dart
call_test.dart
cascade_test.dart
congruence_local_runtime_test.dart
congruence_local_test.dart [vm] Enable new kernel AST invocation nodes for the VM, take 2 2021-05-20 18:53:45 +00:00
congruence_method_runtime_test.dart
congruence_method_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
congruence_top_level_test.dart
congruence_unnamed_runtime_test.dart
congruence_unnamed_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
continue_label_test.dart
control_structures_test.dart
covariant_type_test.dart
dcall_type_test.dart
divergent_flatten_test.dart Update flatten_test to avoid run-time errors and type inference anomaly 2023-06-15 09:47:02 +00:00
error_timing_test.dart
finally_rethrow_test.dart Make tests not assume catch(e) gives e type dynamic. 2020-05-05 09:57:23 +00:00
helper_lib.dart
identifier_test.dart Spelling tests 2023-01-19 16:24:29 +00:00
lib.dart
or_generator_return_type_stacktrace_runtime_test.dart
or_generator_return_type_stacktrace_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
regression_23058_test.dart
rethrow_test.dart
return_throw_test.dart Add tests for throwing async return 2020-12-04 18:14:55 +00:00
return_types_runtime_test.dart
return_types_test.dart Fix message of RETURN_IN_GENERATOR; stop double reporting. 2021-08-24 01:43:48 +00:00
switch_test.dart
this_bound_test.dart
throw_in_catch_test.dart