dart-sdk/tests
Chloe Stefantsova a46de1c30c [cfe] Add implicit null-check on throw
Throwing `null` is not supported in sound null safety. This change
inserts an implicit `as Object` cast that result in a TypeError, rather
than a NullThrownError, in sound mode.

Closes https://github.com/dart-lang/sdk/issues/49198

TEST=Covered by the existing tests

Change-Id: I041baf95becd2df1b940fdff7cde398a4e391ee7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/247546
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>
2022-12-12 00:48:13 +00:00
..
co19 [dart2wasm] Re-enable async tests that no longer time out 2022-12-08 13:43:41 +00:00
co19_2 [Dart 3.0 alpha] Fix some test issues (legacy mode argument not passed in) 2022-12-06 19:34:47 +00:00
corelib [vm/sse41] Fix use of pextrd when sse41 is not available. 2022-12-08 23:29:14 +00:00
corelib_2 [vm/sse41] Fix use of pextrd when sse41 is not available. 2022-12-08 23:29:14 +00:00
dartdevc [ddc] Add interop classes for static members 2022-12-08 04:57:50 +00:00
dartdevc_2 [ddc] Add interop classes for static members 2022-12-08 04:57:50 +00:00
ffi [vm/ffi] Ensure there's a single Function object per ffi-callback + exceptional-return combination 2022-12-07 20:47:13 +00:00
ffi_2 [vm/ffi] Ensure there's a single Function object per ffi-callback + exceptional-return combination 2022-12-07 20:47:13 +00:00
language [cfe] Add implicit null-check on throw 2022-12-12 00:48:13 +00:00
language_2 [3.0 alpha] Update CFE messages for Dart 3 sound null safety by-default 2022-12-09 16:55:03 +00:00
lib [ VM Service / DDS ] Add custom service stream support 2022-12-09 20:18:30 +00:00
lib_2 [ VM Service / DDS ] Add custom service stream support 2022-12-09 20:18:30 +00:00
modular [pkg:js] Enable modular compilation for exports 2022-10-26 16:34:38 +00:00
standalone [3.0 alpha][VM/Runtime] - Flip flag to make strong null safety the default. 2022-12-06 04:04:23 +00:00
standalone_2 [3.0 alpha][VM/Runtime] - Flip flag to make strong null safety the default. 2022-12-06 04:04:23 +00:00
web [ffi] Convert ABI-specific integers to fixed-width integers when doing wasm FfiNative transformation. 2022-11-08 22:16:28 +00:00
web_2 [testing] Remove --compiler=none from test.py 2022-10-19 08:09:58 +00:00
legacy_status_dart2js.csv
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.