mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 10:18:13 +00:00
a46de1c30c
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> |
||
---|---|---|
.. | ||
co19 | ||
co19_2 | ||
corelib | ||
corelib_2 | ||
dartdevc | ||
dartdevc_2 | ||
ffi | ||
ffi_2 | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
standalone | ||
standalone_2 | ||
web | ||
web_2 | ||
legacy_status_dart2js.csv | ||
OWNERS | ||
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.