dart-sdk/tests/language/async
Sam Rawlins 419d70afb2 Fix message of RETURN_IN_GENERATOR; stop double reporting.
* This message should only be reported by the parser; the
  error raised in the analyzer was strictly duplicate.
* This message theoretically used to mention "async*" or
  "sync*" depending on the modifier that the function in
  question listed. However, listing one modifier or the
  other is a red herring, and may confuse the user; any
  function declared with one or the other is a "generator",
  and the error applies equally to a "generator" using one
  or the other modifier.

Bug: https://github.com/dart-lang/sdk/issues/43665
Change-Id: I6ef1f5c055473170e7563222f6f0a6c56a4ad5f5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210801
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2021-08-24 01:43:48 +00:00
..
and_or_test.dart
async_test.dart
await_catch_regression_test.dart
await_foreign_test.dart
await_syntax_test.dart
await_test.dart Fix async test to match inference changes from #43162. 2020-09-16 14:39:28 +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
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 [vm/aot] Discard Code objects from the heap 2021-04-13 02:36:16 +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