dart-sdk/tests/language_2
Sam Rawlins 3393591b3f Rewrite AST w/ Constructor reference w/ explicit type args
This should handle all cases of constructor reference w/ explicit type
args; there aren't too many cases:

* named and unnamed constructors
* referencing class and referencing type alias
* prefixed class names and not-prefixed
* null-aware access (weird)
* bound on type parameter of class, and on type parameter of alias

error cases:

* cascade
* wrong number of type arguments

Bug: https://github.com/dart-lang/sdk/issues/46020
Change-Id: If257eb561a9ad854709b6e9a7d81faa9d084d6ee
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209622
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2021-08-10 23:54:49 +00:00
..
abstract [test] Replace non-implemented @DontInline() annotations 2021-07-26 13:22:31 +00:00
accessor_conflict Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
argument Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
assert Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
assign Add language versions to _2 test libraries 2021-04-26 17:58:57 +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 Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
async_star Fix name of async_star/pause_test2.dart. 2021-05-19 08:04:35 +00:00
await Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
bool Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
call Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
canonicalize Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
cascade Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
class Unify 5 more codes for documentation purposes 2021-05-10 13:21:37 +00:00
closure [tests] Add regression tests for #46568 2021-07-19 21:49:49 +00:00
compile_time_constant Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
const [test] const types and null in const maps and sets 2021-07-26 12:42:20 +00:00
constants_2018 Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
constructor Rewrite AST w/ Constructor reference w/ explicit type args 2021-08-10 23:54:49 +00:00
control_flow_collections Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
covariant Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
covariant_override Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
deferred Remove the last vestiges of two dead multitest outcomes. 2021-05-05 15:39:45 +00:00
double Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
double_literals Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
dynamic Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
enum Add supertype to enum classes. 2021-06-25 14:08:16 +00:00
exception Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
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
factory [cfe] Create normal bodies for redirecting factories 2021-08-04 17:51:07 +00:00
field Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
final Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
fixed_size_int
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 Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
generic Enable experiment generic_metadata 2021-04-27 20:16:08 +00:00
generic_methods [testing] Rely on language versions in the analyzer tests 2021-06-02 07:47:46 +00:00
getter Add language versions to _2 test libraries 2021-04-26 17:58:57 +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 Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
if Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
if_null Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
implicit_creation Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
implicit_downcast_during Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
import Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
inference Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
initializer_assert
initializing_formal Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
instance Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
instantiate_to_bound
interceptor Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
interface [cfe] Create normal bodies for redirecting factories 2021-08-04 17:51:07 +00:00
invalid_returns Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
is Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
label Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
lazy Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
least_upper_bound Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
library Rename library6.dart to make it a test. 2021-05-25 11:55:40 +00:00
list Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
loop Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
main Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
malbounded Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
malformed Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
map [js_runtime] Use custom hashCode for GeneralConstantMap 2021-07-16 22:58:02 +00:00
metadata Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
method Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
mixin Unify 5 more codes for documentation purposes 2021-05-10 13:21:37 +00:00
mixin_constructor_forwarding Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
mixin_declaration Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
new Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
no_such_method Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
nosuchmethod_forwarding Rename some more incorrectly named tests. 2021-06-03 00:49:54 +00:00
null Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
null_aware Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
number Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
operator Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
optimize [test] Replace non-implemented @DontInline() annotations 2021-07-26 13:22:31 +00:00
override Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
parameter Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
part Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
prefix Fix imports in prefix/new_test.dart. 2021-05-25 12:00:30 +00:00
private Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
propagate Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
redirecting [cfe] Create normal bodies for redirecting factories 2021-08-04 17:51:07 +00:00
reg_exp Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
regress [vm] Ignore differences in generic-covariant-impl flags of type parameters when doing a subtype check 2021-08-07 21:03:46 +00:00
resolution Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
return Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
rewrite Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
script Delete unused files in test folders. 2021-05-19 08:05:05 +00:00
set_literals Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
setter Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
spread_collections Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
stack_trace Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
static Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
string [test] Replace non-implemented @DontInline() annotations 2021-07-26 13:22:31 +00:00
subtyping_dynamic
subtyping_static Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
super Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
superinterface_variance Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
switch Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
symbol Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
sync_star Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
syntax Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
this Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
top_level Delete unused files in test folders. 2021-05-19 08:05:05 +00:00
type Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
type_object Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
type_promotion Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
type_variable Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
typedef Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
unsorted [test] Replace non-implemented @DontInline() annotations 2021-07-26 13:22:31 +00:00
variable Stop reporting StrongModeCode.TOP_LEVEL_INSTANCE_GETTER 2021-05-09 18:51:18 +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 Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
await_type_error_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
await_type_test.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
dynamic_type_helper.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
language_2.status [vm/concurrency] Enable more isolate tests, remove outdated TODOs, fix 2 tests 2021-07-16 07:51:58 +00:00
language_2_analyzer.status
language_2_dart2js.status
language_2_dartdevc.status
language_2_kernel.status Reland "[vm] Remove --causal-async-stacks flag" 2021-07-02 14:26:46 +00:00
language_2_precompiled.status
language_2_spec_parser.status
language_2_vm.status
library1.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
library2.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
library10.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
library11.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
library12.dart Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
static_type_helper.dart Add unawaited function and ignore extensions member. 2021-06-22 20:03:13 +00:00
syntax_helper.dart [testing] Rely on language versions in the analyzer tests 2021-06-02 07:47:46 +00:00