dart-sdk/tests/language
Regis Crelier e35ba5b9e3 [VM/runtime] Consider trail when comparing type parameter and bounds of function types.
Fixes https://github.com/dart-lang/sdk/issues/45443

TEST=added regression test

Change-Id: I82c581d9627d9eb1cf31d108a534fd4f5d6bb0a0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192947
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Régis Crelier <regis@google.com>
2021-03-29 16:49:47 +00:00
..
abstract
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
async Revert "[cfe] Handle conditional await in CFE" 2021-02-01 23:41:01 +00:00
async_nested
async_star
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 Don't report INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_* when null safety. 2021-01-13 21:19:04 +00:00
closure Reland "[vm/compiler] Move AssertAssignables out of closure bodies." 2020-11-18 22:42:31 +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 for avoiding exponential tree traversal of DAG constants 2021-01-06 03:54:30 +00:00
const_functions Language tests for erroneous conditions in control flow statements. 2021-03-25 23:21:34 +00:00
constants_2018 Corrected unintended syntax error in constant_type_literal_test 2021-02-25 10:42:36 +00:00
constructor [Analyzer] Report EXTRA_POSITIONAL_ARGUMENTS and EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED against first unmatched argument 2021-01-11 18:46:26 +00:00
control_flow_collections [cfe] Indicate nullability as assignability issue when appropriate 2020-10-29 16:10:03 +00:00
covariant
covariant_override
deferred Unify three diagnostics for documentation purposes 2021-03-22 14:44:33 +00:00
double
double_literals
dynamic
enum [parser] Issue different warnings for missing identifier based on whether the token is used or not. 2020-09-14 08:55:18 +00:00
exception
export Simplifying and recategorizing cyclic imports test 2020-09-14 20:20:49 +00:00
extension_methods [cfe] Handle duplicate getables and conflicting setables 2021-02-17 07:38:01 +00:00
external_abstract_fields
factory Unify two error codes for documentation purposes 2021-01-11 22:52:20 +00:00
field
final [CFE] Better error messages for class initialization errors 2020-09-09 11:37:47 +00:00
function [cfe] Infer Object from constraints similar to T? = dynamic 2020-09-16 11:36:28 +00:00
function_subtype Rename is{Strong,Weak}Mode to has{Sound,Unsound}NullSafety 2020-11-05 14:26:53 +00:00
function_type
generic Issue 45459. Report EXPERIMENT_NOT_ENABLED instead of INVALID_GENERIC_FUNCTION_TYPE when nonfunction_type_aliases is not enabled. 2021-03-25 21:43:04 +00:00
generic_methods Rename is{Strong,Weak}Mode to has{Sound,Unsound}NullSafety 2020-11-05 14:26:53 +00:00
getter
identifier Remove 'unresolvedFile' from FileState. 2020-12-23 23:17:36 +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
inference [cfe] Use combined member signature in override inference in legacy code 2020-12-09 17:33:20 +00:00
initializing_formal
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
invalid_returns
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
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
map [parser] More specific error messages when recovering new/const/Map/Set/List with said literals 2021-03-25 13:27:03 +00:00
metadata Add test of function types with metadata 2021-02-26 17:24:07 +00:00
method
mixin analyzer: Add separate code for concrete implementation override check 2021-01-20 21:27:43 +00:00
mixin_constructor_forwarding
mixin_declaration
new
nnbd Remove (most) uses of the "non-nullable" experiment flag. 2021-02-12 17:16:54 +00:00
no_such_method
nonfunction_type_aliases Correct implementation of expand-to-type-variable error check 2021-03-25 16:28:34 +00:00
nosuchmethod_forwarding [vm] Fix ArgumentsDescriptor uses in DoArgumentTypesMatch. 2020-11-16 11:53:39 +00:00
null Rename is{Strong,Weak}Mode to has{Sound,Unsound}NullSafety 2020-11-05 14:26:53 +00:00
null_aware Add a language test to repro #44475 2020-12-15 16:10:00 +00:00
number
operator Analyzer: deduplicate errors when operator defined with bad parameters 2021-02-16 22:39:04 +00:00
optimize
override
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
private
propagate
redirecting [Analyzer] Report EXTRA_POSITIONAL_ARGUMENTS and EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED against first unmatched argument 2021-01-11 18:46:26 +00:00
reg_exp
regress [VM/runtime] Consider trail when comparing type parameter and bounds of function types. 2021-03-29 16:49:47 +00:00
resolution
return
rewrite
script
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 [cfe] Indicate nullability as assignability issue when appropriate 2020-10-29 16:10:03 +00:00
subtyping_static
super Don't report INVALID_OVERRIDE_DIFFERENT_DEFAULT_VALUES_* when null safety. 2021-01-13 21:19:04 +00:00
superinterface_variance
switch
symbol
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
type
type_object
type_promotion
type_variable [cfe] Disable verification of opt-in/opt-out types 2020-12-03 17:08:43 +00:00
typedef Add type alias cyclicity test, with new syntax, generic function types 2021-02-24 13:47:14 +00:00
unsorted [test_runner] Support detection of CFE warnings 2020-09-15 07:57:31 +00:00
value_class [cfe] Add Jenkins SMI hashcode combiner 2020-09-07 12:36:13 +00:00
variable Analyzer: do not report an undefined getter with an empty name 2020-12-05 14:39:03 +00:00
variance Update static errors for variance_in_inference_error_test. 2020-09-18 11:57:05 +00:00
vm [vm, compiler] Respect --use_slow_path in CheckedSmiOp/Comparison. 2021-03-25 17:39:24 +00:00
void
analysis_options.yaml
await_type_error_test.dart
await_type_test.dart
compiler_annotations.dart
dynamic_type_helper.dart
language.status [SDK] Removes non-exiting tests from .status 2021-02-04 06:46:13 +00:00
language_analyzer.status
language_dart2js.status [SDK] Removes non-exiting tests from .status 2021-02-04 06:46:13 +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 [SDK] Removes non-exiting tests from .status 2021-02-04 06:46:13 +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 Add tests for promotion behavior related to variable initialization. 2020-09-23 00:15:25 +00:00