dart-sdk/tests/language
Nicholas Shahan 76a4d351b8 [ddc] Add non-null assertions when setting fields
!!! NOTE to Google3 rollers:
If this change causes test failures in google3 you can temporarily
set `null_safety_asserts = False` on the failing
`dart_browser_binary` targets until we can fix the mistyped code.
That should allow the test to pass with this change.

Of course feel free to revert this change again if the number of
failures is too high.

Re-land previously reverted change:
https://dart-review.googlesource.com/c/sdk/+/258780

Adds additional tests and more checks to ensure assertions are only
added in libraries that have been migrated to null safety.

Issue: https://github.com/dart-lang/sdk/issues/49918
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/259120
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
Change-Id: Idcab0fe49a8dd98cdd73192eabae4439aebe2013
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/260070
2022-09-23 01:22:11 +00:00
..
abstract
accessor_conflict
argument
assert
assign
async
async_nested
async_star
await
bool
call
canonicalize
cascade
class
closure
compile_time_constant
const
const_functions
constants_2018
constructor [vm] Throw error from external functions even if they have a body 2022-09-09 14:18:34 +00:00
control_flow_collections
covariant
covariant_override
deferred
double
double_literals
dynamic
enum
exception
export
extension_methods
external_abstract_fields
factory
field
final
function
function_subtype
function_type
generic
generic_methods
getter
identifier
identity
if
if_null
implicit_creation
implicit_downcast_during
import
inference
inference_update_1
initializing_formal
instance
instantiate_to_bound
interceptor
interface
invalid_returns
is
label
lazy
least_upper_bound
library
list
loop
main
malbounded
malformed
map
metadata
method
mixin
mixin_constructor_forwarding
mixin_declaration
named_arguments_anywhere
new
nnbd [ddc] Add non-null assertions when setting fields 2022-09-23 01:22:11 +00:00
no_such_method
nonfunction_type_aliases
nosuchmethod_forwarding
null
null_aware
number
operator
optimize
override
parameter Fix typos 2022-09-16 19:35:00 +00:00
part
prefix
private
propagate
records/simple [vm] Record toString() 2022-09-22 21:49:08 +00:00
redirecting
reg_exp
regress
resolution
return
rewrite
script
set_literals
setter
spread_collections
stack_trace
static
string
subtyping_static
super
superinterface_variance
switch
symbol
sync_star
syntax
this
top_level
type
type_object
type_promotion
type_variable
typedef
unsorted
value_class
variable
variance
vm
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
language_analyzer.status
language_dart2js.status
language_dart2wasm.status
language_dartdevc.status
language_kernel.status
language_precompiled.status
language_spec_parser.status
language_vm.status
library1.dart
library2.dart
library10.dart
library11.dart
library12.dart
record_literal_problems_test.dart
record_literal_test.dart
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