mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 09:01:42 +00:00
6d88b04a89
Several instance checks added during the null safety core library migration were incorrectly rejecting null values in places where null values can still flow in legacy mode. This eliminates the instance checks in favor of casts which will behave as desired. Bug: https://github.com/dart-lang/sdk/issues/41465 Change-Id: I50fb9e6cef41d645d5312871932c7168f2d80c29 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/143333 Commit-Queue: Leaf Petersen <leafp@google.com> Reviewed-by: Nate Bosch <nbosch@google.com> |
||
---|---|---|
.. | ||
asyncMap_accepts_null.dart | ||
future_sync_accepts_null.dart | ||
README |
This directory contains tests specific to null safety weak mode behavior.