dart-sdk/tests/language
Konstantin Shcheglov 4d42e73295 Report EXPERIMENT_NOT_ENABLED instead of ANNOTATION_WITH_TYPE_ARGUMENTS.
On one hand this is less precise, OTOH this tells which feature and
the language version it requires.

Change-Id: I1d24a2d7cf2c7b7ca305d5bfc9f094fce0734bc4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210644
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2021-08-19 20:20:26 +00:00
..
abstract [test] Replace non-implemented @DontInline() annotations 2021-07-26 13:22:31 +00:00
accessor_conflict
argument Make update_static_error_tests work on Windows (again) 2020-09-10 06:21:13 +00:00
assert [dart2js] Support AssertInitializer in dart2js 2021-03-05 09:14:37 +00:00
assign Remove 'checked mode' from checked_mode_compile_time_errors 2020-07-31 19:20:58 +00:00
async [vm] Enable new kernel AST invocation nodes for the VM, take 2 2021-05-20 18:53:45 +00:00
async_nested
async_star Fix name of async_star/pause_test2.dart. 2021-05-19 08:04:35 +00:00
await Reland "Flow analysis: promote to non-nullable on initialization" 2020-10-07 13:14:55 +00:00
bool
call [Analyzer] Report EXTRA_POSITIONAL_ARGUMENTS and EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED against first unmatched argument 2021-01-11 18:46:26 +00:00
canonicalize
cascade Analyzer: do not report an undefined getter with an empty name 2020-12-05 14:39:03 +00:00
class Unify 5 more codes for documentation purposes 2021-05-10 13:21:37 +00:00
closure Restore function object equality related tests 2021-08-06 15:31:19 +00:00
compile_time_constant [Analyzer] Report EXTRA_POSITIONAL_ARGUMENTS and EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED against first unmatched argument 2021-01-11 18:46:26 +00:00
const [test] const types and null in const maps and sets 2021-07-26 12:42:20 +00:00
const_functions Stop using ConstantAstCloner. 2021-06-13 17:33:42 +00:00
constants_2018 Corrected unintended syntax error in constant_type_literal_test 2021-02-25 10:42:36 +00:00
constructor Rewrite AST w/ Constructor reference w/ explicit type args 2021-08-10 23:54:49 +00:00
control_flow_collections [cfe] Indicate nullability as assignability issue when appropriate 2020-10-29 16:10:03 +00:00
covariant Adjust type_parameter_test to expect caller-side check on tearoff 2021-08-11 16:37:51 +00:00
covariant_override
deferred [cfe] Fix message offset on unresolved prefix access 2021-08-11 16:12:01 +00:00
double
double_literals
dynamic
enum Add supertype to enum classes. 2021-06-25 14:08:16 +00:00
exception
export [test] Fix bug in export/duplicate_import_libd 2021-06-30 07:44:52 +00:00
extension_methods Remove references to triple-shift and generic-metadata experiments. 2021-05-12 13:35:00 +00:00
external_abstract_fields
factory [cfe] Create normal bodies for redirecting factories 2021-08-04 17:51:07 +00:00
field Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
final [CFE] Better error messages for class initialization errors 2020-09-09 11:37:47 +00:00
function Issue 46062. Report TYPE_ALIAS_CANNOT_REFERENCE_ITSELF on the name of the alias. 2021-05-19 15:45:21 +00:00
function_subtype Rename language(_2)/function_subtype/null.dart to actually be a test. 2021-05-25 11:19:50 +00:00
function_type
generic Report EXPERIMENT_NOT_ENABLED instead of ANNOTATION_WITH_TYPE_ARGUMENTS. 2021-08-19 20:20:26 +00:00
generic_methods Remove expectation that instantiated local function tearoffs are notEqual 2021-08-11 16:07:51 +00:00
getter [cfe] Report error on non-void setter return type 2020-09-02 12:43:12 +00:00
identifier [parser] Consume (and use) identifier looking like start of next top level declaration as class name 2021-06-18 10:20:32 +00:00
identity
if
if_null [cfe] Special case Null in assignability errors. 2020-11-09 11:07:44 +00:00
implicit_creation
implicit_downcast_during Reland "Flow analysis: promote to non-nullable on initialization" 2020-10-07 13:14:55 +00:00
import Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
inference [cfe] Use combined member signature in override inference in legacy code 2020-12-09 17:33:20 +00:00
initializing_formal Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
instance [Analyzer] Report EXTRA_POSITIONAL_ARGUMENTS and EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED against first unmatched argument 2021-01-11 18:46:26 +00:00
instantiate_to_bound
interceptor
interface [cfe] Create normal bodies for redirecting factories 2021-08-04 17:51:07 +00:00
invalid_returns Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
is Rename is{Strong,Weak}Mode to has{Sound,Unsound}NullSafety 2020-11-05 14:26:53 +00:00
label [parser] Issue different warnings for missing identifier based on whether the token is used or not. 2020-09-14 08:55:18 +00:00
lazy
least_upper_bound Add test for upper bound with greatest closure 2021-01-21 08:51:53 +00:00
library Rename library6.dart to make it a test. 2021-05-25 11:55:40 +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
main [cfe] Report errors in invalid main declarations 2020-10-05 14:37:33 +00:00
malbounded
malformed Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
map [js_runtime] Use custom hashCode for GeneralConstantMap 2021-07-16 22:58:02 +00:00
metadata Fix scope resolution of metadata on type parameters 2021-08-17 15:17:02 +00:00
method
mixin Unify 5 more codes for documentation purposes 2021-05-10 13:21:37 +00:00
mixin_constructor_forwarding
mixin_declaration
new
nnbd Add language tests for some late instance variable corner cases. 2021-06-02 23:21:24 +00:00
no_such_method
nonfunction_type_aliases Fix import in "infer_aliased_factory_invocation_07_test.dart". 2021-05-25 09:46:20 +00:00
nosuchmethod_forwarding Rename some more incorrectly named tests. 2021-06-03 00:49:54 +00:00
null Rename is{Strong,Weak}Mode to has{Sound,Unsound}NullSafety 2020-11-05 14:26:53 +00:00
null_aware [cfe] Fix message offset on unresolved prefix access 2021-08-11 16:12:01 +00:00
number Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
operator Reland "Add some operator based tests." 2021-06-29 16:28:48 +00:00
optimize [test] Replace non-implemented @DontInline() annotations 2021-07-26 13:22:31 +00:00
override Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
parameter [Analyzer] Report EXTRA_POSITIONAL_ARGUMENTS and EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED against first unmatched argument 2021-01-11 18:46:26 +00:00
part
prefix Fix imports in prefix/new_test.dart. 2021-05-25 12:00:30 +00:00
private [cfe] Fix message offset on unresolved prefix access 2021-08-11 16:12:01 +00:00
propagate
redirecting [cfe] Create normal bodies for redirecting factories 2021-08-04 17:51:07 +00:00
reg_exp
regress [tests] Add regression tests 2021-08-17 17:32:52 +00:00
resolution
return
rewrite Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
script Delete unused files in test folders. 2021-05-19 08:05:05 +00:00
set_literals [tests] Add const-big-set-literal test 2020-10-20 11:07:23 +00:00
setter [cfe] Check getter/setter types on top level and extension members 2020-10-09 07:16:06 +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 [Analyzer] Report EXTRA_POSITIONAL_ARGUMENTS and EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED against first unmatched argument 2021-01-11 18:46:26 +00:00
string [test] Replace non-implemented @DontInline() annotations 2021-07-26 13:22:31 +00:00
subtyping_static
super analyzer: Improve span of use_of_nullable_value errors 2021-04-02 02:43:48 +00:00
superinterface_variance
switch
symbol Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
sync_star [VM] Fixes yield* exception handling in sync*. 2020-10-27 06:46:27 +00:00
syntax
this Analyzer: do not report an undefined getter with an empty name 2020-12-05 14:39:03 +00:00
top_level Delete unused files in test folders. 2021-05-19 08:05:05 +00:00
type
type_object [tests] Remove not-identical expectation for Type values 2021-08-10 18:47:31 +00:00
type_promotion Move codes from StaticTypeWarningCode into CompileTimeErrorCode. 2020-07-27 16:44:15 +00:00
type_variable [cfe] Disable verification of opt-in/opt-out types 2020-12-03 17:08:43 +00:00
typedef Adjust aliased_type_literal_instantiation_test to expect dynamic 2021-08-05 10:05:38 +00:00
unsorted [test] Replace non-implemented @DontInline() annotations 2021-07-26 13:22:31 +00:00
value_class [cfe] Add Jenkins SMI hashcode combiner 2020-09-07 12:36:13 +00:00
variable Stop reporting StrongModeCode.TOP_LEVEL_INSTANCE_GETTER 2021-05-09 18:51:18 +00:00
variance Update static errors for variance_in_inference_error_test. 2020-09-18 11:57:05 +00:00
vm [vm] Remove --experimental-enable-isolate-groups-jit, only guard via --enable-isolate-groups 2021-07-16 09:13:28 +00:00
void
why_not_promoted Rename some more incorrectly named tests. 2021-06-03 00:49:54 +00:00
analysis_options.yaml
await_type_error_test.dart
await_type_test.dart
dynamic_type_helper.dart
language.status [VM/tests] issue/45618 - Avoid large outputs from tests 2021-05-26 06:04:01 +00:00
language_analyzer.status
language_dart2js.status [vm,cfe] Avoid elimination of 'x as Function' type casts 2021-03-31 15:57:29 +00:00
language_dartdevc.status [tests] Remove triple shift test skips from status files 2021-03-19 02:32:34 +00:00
language_kernel.status Reland "[vm] Remove --causal-async-stacks flag" 2021-07-02 14:26:46 +00:00
language_precompiled.status [SDK] Removes non-exiting tests from .status 2021-02-04 06:46:13 +00:00
language_spec_parser.status [SDK] Removes non-exiting tests from .status 2021-02-04 06:46:13 +00:00
language_vm.status
library1.dart
library2.dart
library10.dart
library11.dart
library12.dart
static_type_helper.dart [test] Fix constructor tear off tests in language 2021-07-23 08:41:09 +00:00
syntax_helper.dart Additional language tests for parsing behaviors around type arguments. 2021-05-18 14:06:13 +00:00