dart-sdk/tests/language
Paul Berry b8489128cb Test field promotion during top level inference.
Bug: https://github.com/dart-lang/language/issues/2020
Change-Id: I58d7f5691a4af614bcd481a109e340ca709fe4ec
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/270760
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2022-11-21 17:20:55 +00:00
..
abstract
accessor_conflict
argument [analyzer] NOT_ENOUGH_POSITIONAL_ARGUMENTS 2022-10-11 17:56:11 +00:00
assert
assign
async [tests] Avoid small --optimization-counter-threshold in tests 2022-10-10 21:04:18 +00:00
async_nested
async_star Fixed various typos in a lot of files 2022-07-25 12:21:59 +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 [analyzer] NOT_ENOUGH_POSITIONAL_ARGUMENTS 2022-10-11 17:56:11 +00:00
canonicalize
cascade Remove nbsp 2022-10-17 08:18:49 +00:00
class Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
closure Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
compile_time_constant [analyzer] NOT_ENOUGH_POSITIONAL_ARGUMENTS 2022-10-11 17:56:11 +00:00
const [tests] Migrate away from native 2022-10-28 09:16:40 +00:00
const_functions [cfe] Handle non-const records in const constructors 2022-10-28 09:55:22 +00:00
constants_2018 Fixed various typos in a lot of files 2022-07-25 12:21:59 +00:00
constructor [analyzer] NOT_ENOUGH_POSITIONAL_ARGUMENTS 2022-10-11 17:56:11 +00:00
control_flow_collections
covariant
covariant_override Fix typos 2022-06-15 11:08:28 +00:00
deferred Reapply "Account for @pragma("vm:entry-point") creating additional "root" libraries when partitioning the program into loading units." 2022-06-27 18:56:12 +00:00
double
double_literals
dynamic [vm] Better implementation of hashCode function. 2022-10-20 20:31:20 +00:00
enum [cfe] Allow 'new' as constructor name on enum elements 2022-11-11 11:13:35 +00:00
exception
export
extension_methods Fix typos 2022-06-10 15:48:54 +00:00
external_abstract_fields
factory
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 Update Function class documentation: 2022-11-15 15:41:49 +00:00
function_subtype Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
function_type Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
generic Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
generic_methods Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
getter
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 Fix typos 2022-04-28 12:53:43 +00:00
implicit_downcast_during
import [cfe] Include import paths in error for unavailable dart: libraries 2022-11-08 14:54:17 +00:00
inference
inference_update_1 Ensure that partial inference results aren't refined by later partial inference stages. 2022-05-10 15:10:44 +00:00
inference_update_2 Test field promotion during top level inference. 2022-11-21 17:20:55 +00:00
initializing_formal
instance
instantiate_to_bound
interceptor
interface
invalid_returns
is [tests] Avoid small --optimization-counter-threshold in tests 2022-10-10 21:04:18 +00:00
label
lazy
least_upper_bound
library Reland "[test] Fix some tests for Dart2Wasm." 2022-11-04 16:10:39 +00:00
list
loop
main
malbounded [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
malformed [cfe] Refactor TypeBuilders 2022-03-28 18:22:50 +00:00
map
metadata Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
method Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
mixin Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
mixin_constructor_forwarding
mixin_declaration
named_arguments_anywhere Roll dart_style 2.2.2 into the repo. 2022-03-04 13:06:42 +00:00
new
nnbd [ddc] Fix bug in FutureOr type normalization 2022-10-03 20:09:38 +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 Don't delegate foreign private names to noSuchMethod. 2022-09-27 21:20:35 +00:00
nosuchmethod_forwarding Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
null [tests] Avoid small --optimization-counter-threshold in tests 2022-10-10 21:04:18 +00:00
null_aware Flag additional code as unreachable due to types Null and Never. 2022-08-22 16:50:19 +00:00
number
operator
optimize [tests] Avoid small --optimization-counter-threshold in tests 2022-10-10 21:04:18 +00:00
override
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
prefix
private
propagate
records/simple [vm] Account for named record fields which can be named like positional 2022-10-18 21:03:09 +00:00
redirecting Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
reg_exp
regress [tests] Avoid small --optimization-counter-threshold in tests 2022-10-10 21:04:18 +00:00
resolution
return
rewrite
script
sealed_class [analyzer/cfe] Add support for sealed mixins and class type aliases. 2022-11-18 19:09:40 +00:00
set_literals
setter
spread_collections
stack_trace
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
super Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
superinterface_variance
switch Deprecate FallThroughError. 2022-10-25 12:25:35 +00:00
symbol
sync_star
syntax
this Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
top_level
type [cfe] Check primitive equals in legacy libraries 2022-02-10 22:13:14 +00:00
type_object Fix typos 2022-06-15 11:08:28 +00:00
type_promotion
type_variable [cfe] Refactor bounds checking 2022-05-17 14:36:19 +00:00
typedef
unsorted Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
value_class
variable
variance [cfe,analyzer] Share experimental flags for the parser 2022-11-17 11:32:01 +00:00
vm [tests] Cleanup test with absent deferred library 2022-11-03 17:06:42 +00:00
void
why_not_promoted
await_type_error_test.dart
await_type_test.dart
dynamic_type_helper.dart
explicit_type_instantiation_parsing_test.dart
language.status [testing] Remove --compiler=none from test.py 2022-10-19 08:09:58 +00:00
language_analyzer.status [tests] Cleanup test with absent deferred library 2022-11-03 17:06:42 +00:00
language_dart2js.status Add a language test to check situations where implicit call tearoff does not occur. 2022-02-15 16:37:50 +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 [ddc] Ensure status file entries are consistent 2022-08-08 17:23:50 +00:00
language_kernel.status [test] Remove obsolete Skips from status files 2022-08-11 08:41:05 +00:00
language_precompiled.status [vm] Fix yield in async* to check if the stream was canceled while generator was suspended 2022-07-15 14:09:20 +00:00
language_spec_parser.status [tests] Cleanup tests for unsupported --enable-debug-break 2022-11-01 20:54:28 +00:00
language_vm.status [vm] Fix yield in async* to check if the stream was canceled while generator was suspended 2022-07-15 14:09:20 +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 [parser] Record literals can be const and one-element only 2022-08-30 10:54:08 +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 Revert "Reland "[cfe,corelib] Add class 'Record' to the core library"" 2022-09-19 13:52:01 +00:00
static_type_helper.dart
syntax_helper.dart