dart-sdk/tests/language
Leaf Petersen 34531dcdf2 Tests for mixin class legacy interactions.
Change-Id: I2d2c3353f77b96d656bc81dc5f59bd7021ed2861
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/287665
Reviewed-by: Lasse Nielsen <lrn@google.com>
Commit-Queue: Leaf Petersen <leafp@google.com>
Reviewed-by: Kallen Tu <kallentu@google.com>
2023-03-10 06:02:34 +00:00
..
abstract Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
accessor_conflict
argument [analyzer] NOT_ENOUGH_POSITIONAL_ARGUMENTS 2022-10-11 17:56:11 +00:00
assert [dart2wasm] Emit code for assert initializers. 2023-01-05 00:23:40 +00:00
assign Remove 'checked mode' from checked_mode_compile_time_errors 2020-07-31 19:20:58 +00:00
async Issue 50672. Update flatten() 2023-02-24 22:55:17 +00:00
async_nested
async_star [tests] Fix expectations in language/async_star/async_star_await_for_test 2023-02-27 16:25:50 +00:00
await [tests] Avoid small --optimization-counter-threshold in tests 2022-10-10 21:04:18 +00:00
bool Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
call Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
canonicalize Spelling tests language 2022-12-19 16:30:06 +00:00
cascade Remove nbsp 2022-10-17 08:18:49 +00:00
class Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
class_modifiers Tests for mixin class legacy interactions. 2023-03-10 06:02:34 +00:00
closure [dart2wasm] Fix instantiation closure equality 2023-03-08 15:42:26 +00:00
compile_time_constant [analyzer] NOT_ENOUGH_POSITIONAL_ARGUMENTS 2022-10-11 17:56:11 +00:00
const Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
const_functions opt assignable_expression_test into 2.19 2023-02-27 22:48:51 +00:00
constants_2018 [flip-patterns] Update language/constants_2018/equals_test.dart for primitive equality. 2023-03-03 23:39:37 +00:00
constructor Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
control_flow_collections Simplify asyncExpectThrows and enhance Expect.throws. 2022-01-06 17:06:47 +00:00
covariant Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
covariant_override Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
deferred [flip-modifiers] opt out from class modifiers some failing front end language tests 2023-03-02 20:40:20 +00:00
double Move errors from StaticWarningCode to CompileTimeErrorCode. 2020-07-26 04:19:25 +00:00
double_literals
dynamic [dart2wasm] Fix invocation forwarder named argument adjustment 2023-01-10 13:37:33 +00:00
enum [flip-modifiers] opt out from class modifiers some failing front end language tests 2023-03-02 20:40:20 +00:00
exception [dart2wasm] Fix reversal of break labels crossing finally. 2023-02-15 10:24:08 +00:00
export [test] Fix bug in export/duplicate_import_libd 2021-06-30 07:44:52 +00:00
extension_methods Fix typos 2022-06-10 15:48:54 +00:00
external_abstract_fields [cfe] Implemenet abstract fields errors 2020-07-20 12:05:54 +00:00
factory [cfe] Add UnresolvedKind for fine grained unresolved reporting 2021-08-25 09:51:54 +00:00
field [dart2wasm] Initialize the function class early. 2022-03-18 17:44:57 +00:00
final Flow analysis: ensure that not-yet-declared variables aren't marked as captured. 2022-01-11 15:42:04 +00:00
function Spelling tests language 2022-12-19 16:30:06 +00:00
function_subtype Spelling tests standalone 2023-01-23 12:55:22 +00:00
function_type Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
generic Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
generic_methods Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
getter Fix reporting of INSTANCE_ACCESS_TO_STATIC_MEMBER from within an extension. 2021-10-17 06:22:30 +00:00
identifier [cfe] Refactor TypeBuilders 2022-03-28 18:22:50 +00:00
identity
if
if_null Issue 48004. Report when null-aware operator is used on type. 2022-05-29 19:03:15 +00:00
implicit_creation Switch cases are no longer const contexts with patterns. 2023-02-28 01:34:26 +00:00
implicit_downcast_during Reland "Flow analysis: promote to non-nullable on initialization" 2020-10-07 13:14:55 +00:00
import [cfe] Include import paths in error for unavailable dart: libraries 2022-11-08 14:54:17 +00:00
inference [cfe] Use combined member signature in override inference in legacy code 2020-12-09 17:33:20 +00:00
inference_update_1 Retire experiment flags introduced in 2.18. 2022-12-15 13:18:50 +00:00
inference_update_2 Spelling pkg dev compiler 2023-01-26 09:12:41 +00:00
initializing_formal Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
instance [cfe] Add UnresolvedKind for fine grained unresolved reporting 2021-08-25 09:51:54 +00:00
instantiate_to_bound master branch to main 2021-09-15 06:22:23 +00:00
interceptor
interface [cfe] Add UnresolvedKind for fine grained unresolved reporting 2021-08-25 09:51:54 +00:00
invalid_returns Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
is [tests] Avoid small --optimization-counter-threshold in tests 2022-10-10 21:04:18 +00:00
label [parser] Add beforeSynthetic to SyntheticStringToken 2021-08-30 11:56:30 +00:00
lazy Spelling tests 2023-01-19 16:24:29 +00:00
least_upper_bound Add test for upper bound with greatest closure 2021-01-21 08:51:53 +00:00
library Spelling tests language 2022-12-19 16:30:06 +00:00
list [parser] More specific error messages when recovering new/const/Map/Set/List with said literals 2021-03-25 13:27:03 +00:00
loop [cfe/analyzer] add CompileTimeErrorCode.CONTINUE_LABEL_INVALID 2023-01-18 19:10:46 +00:00
main [cfe] Report errors in invalid main declarations 2020-10-05 14:37:33 +00:00
malbounded [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
malformed Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
map [js_runtime] Use custom hashCode for GeneralConstantMap 2021-07-16 22:58:02 +00:00
metadata Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
method Spelling pkg dev compiler 2023-01-26 09:12:41 +00:00
mixin [flip-modifiers] opt out from class modifiers some failing front end language tests 2023-03-02 20:40:20 +00:00
mixin_constructor_forwarding Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
mixin_declaration Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
named_arguments_anywhere Roll dart_style 2.2.2 into the repo. 2022-03-04 13:06:42 +00:00
new [cfe] Add UnresolvedKind for fine grained unresolved reporting 2021-08-25 09:51:54 +00:00
nnbd pre-emptively fix some tests for class modifiers flag flip 2023-03-01 20:11:25 +00:00
no_such_method Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
nonfunction_type_aliases [flip-modifiers]: Reapply "Enforce current library restrictions." 2023-03-03 09:37:38 +00:00
nosuchmethod_forwarding Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
null [flip-modifiers] opt out from class modifiers some failing front end language tests 2023-03-02 20:40:20 +00:00
null_aware Flag additional code as unreachable due to types Null and Never. 2022-08-22 16:50:19 +00:00
number [cfe] Add UnresolvedKind for fine grained unresolved reporting 2021-08-25 09:51:54 +00:00
operator [dart2wasm] Add intrinsics for bitwise operations on booleans. 2022-12-13 23:07:40 +00:00
optimize pre-emptively fix some tests for class modifiers flag flip 2023-03-01 20:11:25 +00:00
override Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
parameter [analyzer] NOT_ENOUGH_POSITIONAL_ARGUMENTS 2022-10-11 17:56:11 +00:00
part [cfe] Include import paths in error for unavailable dart: libraries 2022-11-08 14:54:17 +00:00
patterns Issue 51567. Implement constant equality as primitive equality 2023-03-01 20:58:57 +00:00
prefix [cfe] Add UnresolvedKind for fine grained unresolved reporting 2021-08-25 09:51:54 +00:00
private pre-emptively fix some tests for class modifiers flag flip 2023-03-01 20:11:25 +00:00
propagate
records/simple [dart2wasm] Categorize and masquerade runtime types by lookup table 2023-03-09 22:08:19 +00:00
redirecting Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
reg_exp Migrate language_2/reg_exp to NNBD. 2020-06-09 18:45:33 +00:00
regress Revert "Add more interface and final modifiers to dart:core." 2023-03-09 13:09:57 +00:00
resolution Migrate language_2/resolution to NNBD. 2020-06-09 00:44:05 +00:00
return Migrate language_2/return to NNBD. 2020-06-09 16:31:44 +00:00
rewrite Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
scaling [vm] Increase supported range of TypeParameters to 16 bits. 2022-12-14 23:34:18 +00:00
script Delete unused files in test folders. 2021-05-19 08:05:05 +00:00
sealed_class [tests] Fix tests to report an error when classes are used as a mixin, even in the same library. 2023-02-15 15:26:49 +00:00
set_literals [tests] Add const-big-set-literal test 2020-10-20 11:07:23 +00:00
setter Do not report BODY_MIGHT_COMPLETE_NORMALLY for setters 2021-09-08 16:07:13 +00:00
spread_collections Front end: Fix follow-on error arising from ill-typed spread element. 2021-03-04 15:52:57 +00:00
stack_trace Reland "[vm/compiler] Move AssertAssignables out of closure bodies." 2020-11-18 22:42:31 +00:00
static [ddc] Adding support for static setters of const fields 2022-04-01 23:51:15 +00:00
string [parser-ish] Better errors on invalid unicode escapes 2022-03-17 13:57:45 +00:00
subtyping_static Migrate language_2/subtyping_static to NNBD. 2020-06-15 20:53:55 +00:00
super Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
superinterface_variance Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
switch Add tests for non-primitive equality in switch cases. 2023-03-10 02:39:28 +00:00
symbol Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
sync_star Spelling tests language 2022-12-19 16:30:06 +00:00
syntax [test] Extract test for "native" 2023-02-01 10:06:37 +00:00
this Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
top_level Delete unused files in test folders. 2021-05-19 08:05:05 +00:00
type Update syntax_test to avoid expecting new syntax to be a syntax error 2023-01-19 14:44:36 +00:00
type_object Fix typos 2022-06-15 11:08:28 +00:00
type_promotion Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
type_variable [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
typedef Remove references to constructor-tearoff experiment. 2021-11-11 14:04:43 +00:00
unsorted [flip-patterns] Update invalid assignable expression test expectations. 2023-03-06 21:57:51 +00:00
value_class [cfe] Add Jenkins SMI hashcode combiner 2020-09-07 12:36:13 +00:00
variable Fix year and comma in header. 2023-02-08 17:45:40 +00:00
variance [cfe,analyzer] Share experimental flags for the parser 2022-11-17 11:32:01 +00:00
vm [dart2js] Static weak references to method tearoffs 2023-03-02 20:04:19 +00:00
void Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
why_not_promoted Rename some more incorrectly named tests. 2021-06-03 00:49:54 +00:00
await_type_error_test.dart
await_type_test.dart
dynamic_type_helper.dart
explicit_type_instantiation_parsing_test.dart Remove references to constructor-tearoff experiment. 2021-11-11 14:04:43 +00:00
language.status [dart2js] Static weak references to method tearoffs 2023-03-02 20:04:19 +00:00
language_analyzer.status [tests] Cleanup test with absent deferred library 2022-11-03 17:06:42 +00:00
language_dart2js.status [dart2js, ddc] Skip flaky tests 2023-02-13 23:44:59 +00:00
language_dart2wasm.status [dart2wasm] Initial commit for the Dart-to-WasmGC compiler. 2022-02-16 11:11:14 +00:00
language_dartdevc.status [test_runner] Cleanup unused compiler names 2023-03-07 02:09:16 +00:00
language_kernel.status [test] Remove obsolete Skips from status files 2022-08-11 08:41:05 +00:00
language_precompiled.status [tests] Fix expectations in language/async_star/async_star_await_for_test 2023-02-27 16:25:50 +00:00
language_spec_parser.status Spelling tests language 2022-12-19 16:30:06 +00:00
language_vm.status [tests] Fix expectations in language/async_star/async_star_await_for_test 2023-02-27 16:25:50 +00:00
library1.dart
library2.dart
library10.dart
library11.dart
library12.dart
record_literal_problems_test.dart [parser] Empty record 2022-10-06 06:34:58 +00:00
record_literal_test.dart [tests, benchmarks] Reformat using new Dart formatter 2023-03-01 18:15:09 +00:00
record_type_empty_problems_test.dart [tests] Split out tests involving Record.empty 2022-09-21 08:05:47 +00:00
record_type_problems_test.dart [tests] Split out tests involving Record.empty 2022-09-21 08:05:47 +00:00
record_type_test.dart [tests, benchmarks] Reformat using new Dart formatter 2023-03-01 18:15:09 +00:00
static_type_helper.dart [test] Fix constructor tear off tests in language 2021-07-23 08:41:09 +00:00
static_weak_reference_error_test.dart [dart2js] Static weak references to method tearoffs 2023-03-02 20:04:19 +00:00
static_weak_reference_function_apply_test.dart [dart2js] Static weak references to method tearoffs 2023-03-02 20:04:19 +00:00
static_weak_reference_test.dart [dart2js] Static weak references to method tearoffs 2023-03-02 20:04:19 +00:00
syntax_helper.dart Additional language tests for parsing behaviors around type arguments. 2021-05-18 14:06:13 +00:00