dart-sdk/tests/language/generic
Robert Nystrom 7ca5ad46ce Set tests that have mixin errors as 2.19.
Mark tests that contain errors about using a class as a mixin to use
language version 2.19 where that's not an error.

This may not fix all of the tests because it's the language version of
the library where the class is declared that matters, not where the
class is used as a mixin. But most tests have all of their declarations
in the same library, so this should fix most.

Change-Id: I910439ebd2f10f731418dc588b7e4619a0841c16
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/285923
Reviewed-by: Jake Macdonald <jakemac@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
2023-03-01 15:03:39 +00:00
..
async_star_test.dart
async_test.dart
cascaded_forwarding_stubs_generic_test.dart
closure_test.dart
conflicting_generic_interfaces_hierarchy_loop_infinite_test.dart
conflicting_generic_interfaces_hierarchy_loop_test.dart
conflicting_generic_interfaces_no_conflict_test.dart
conflicting_generic_interfaces_simple_test.dart
constructor_mixin2_runtime_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
constructor_mixin2_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
constructor_mixin3_runtime_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
constructor_mixin3_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
constructor_mixin_runtime_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
constructor_mixin_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
creation_test.dart
deep_test.dart
f_bounded_equality_test.dart
f_bounded_quantification2_test.dart
f_bounded_quantification3_test.dart
f_bounded_quantification4_test.dart
f_bounded_quantification5_test.dart
f_bounded_quantification_runtime_test.dart
f_bounded_quantification_test.dart [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
field_mixin2_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
field_mixin3_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
field_mixin4_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
field_mixin5_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
field_mixin6_runtime_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
field_mixin6_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
field_mixin_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
function_bounds_test.dart [vm] Reland "Remove non-covariant checks from closure bodies (part 1)" 2020-07-21 10:00:41 +00:00
function_dcall_test.dart
function_subtype_parametrized_typedef_runtime_1_test.dart
function_subtype_parametrized_typedef_runtime_2_test.dart
function_subtype_parametrized_typedef_runtime_3_test.dart
function_subtype_parametrized_typedef_runtime_test.dart
function_subtype_parametrized_typedef_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
function_subtype_runtime_1_test.dart
function_subtype_runtime_2_test.dart
function_subtype_runtime_test.dart
function_subtype_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
function_type_as_type_argument_runtime_1_test.dart
function_type_as_type_argument_runtime_test.dart
function_type_as_type_argument_test.dart [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
function_typedef2_runtime_test.dart
function_typedef2_test.dart Enable non-function type aliases by default in 2.13. 2021-04-03 01:31:42 +00:00
function_typedef3_test.dart Enable non-function type aliases by default in 2.13. 2021-04-03 01:31:42 +00:00
function_typedef_test.dart
functions_test.dart Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
generic2_test.dart
generic_function_type_argument_test.dart Remove references to triple-shift and generic-metadata experiments. 2021-05-12 13:35:00 +00:00
generic_metadata_test.dart Spelling tests language 2022-12-19 16:30:06 +00:00
generic_test.dart
generics2_test.dart
generics3_test.dart
generics_test.dart
inheritance_test.dart
instanceof.dart Rename is{Strong,Weak}Mode to has{Sound,Unsound}NullSafety 2020-11-05 14:26:53 +00:00
instanceof2_test.dart
instanceof3_test.dart
instanceof4_test.dart
instanceof5_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
instanceof_test.dart
instantiate_tearoff_after_contravariance_check_test.dart
instantiate_tearoff_of_call_test.dart
instantiate_tearoff_test.dart [vm] Reland "Remove non-covariant checks from closure bodies (part 1)" 2020-07-21 10:00:41 +00:00
instantiate_to_bounds_super_bounded_test.dart
instantiate_type_variable_runtime_test.dart
instantiate_type_variable_test.dart [cfe] Add UnresolvedKind for fine grained unresolved reporting 2021-08-25 09:51:54 +00:00
is_check_test.dart
list_checked_test.dart
local_functions_test.dart
many_generic_instanceof_test.dart
metadata_in_function_body_test.dart Report EXPERIMENT_NOT_ENABLED instead of ANNOTATION_WITH_TYPE_ARGUMENTS. 2021-08-19 20:20:26 +00:00
metadata_runtime_1_test.dart
metadata_runtime_test.dart
metadata_test.dart Report EXPERIMENT_NOT_ENABLED instead of ANNOTATION_WITH_TYPE_ARGUMENTS. 2021-08-19 20:20:26 +00:00
method_types_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
mock_test.dart
native_test.dart
no_such_method_dispatcher_test.dart
object_type_test.dart
parameterized_extends_test.dart
recursive_generic_test.dart
regress_45767_test.dart [ddc] Add missing nullability on FutureOr types 2021-05-04 19:46:51 +00:00
reify_typevar_runtime_1_test.dart
reify_typevar_runtime_2_test.dart
reify_typevar_runtime_3_test.dart
reify_typevar_runtime_test.dart
reify_typevar_static_test.dart Move errors from StaticWarningCode to CompileTimeErrorCode. 2020-07-26 04:19:25 +00:00
self_reference_test.dart
sends_test.dart
super_bounded_types_and_nested_variance_test.dart Add new tests about i2b and super-bounded types 2020-12-28 15:15:54 +00:00
super_bounded_types_and_variance_test.dart Add new tests about i2b and super-bounded types 2020-12-28 15:15:54 +00:00
super_bounded_types_error2_test.dart [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
super_bounded_types_error_test.dart [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
super_bounded_types_test.dart Add new tests about i2b and super-bounded types 2020-12-28 15:15:54 +00:00
sync_star_test.dart
syntax_test.dart
tearoff_test.dart
type_argument_in_super_type_test.dart
type_argument_substitution_test.dart
type_parameter_literal_test.dart
type_parameter_test.dart
typedef_test.dart Adjust typedef_test, cf. SDK issue #47561 2021-11-04 09:13:03 +00:00
wrong_number_type_arguments_runtime_test.dart
wrong_number_type_arguments_test.dart Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00