dart-sdk/tests/corelib/weak_mode
Leaf Petersen 6d88b04a89 Fix incorrect instance checks.
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>
2020-04-14 19:25:45 +00:00
..
asyncMap_accepts_null.dart Fix incorrect instance checks. 2020-04-14 19:25:45 +00:00
future_sync_accepts_null.dart Fix incorrect instance checks. 2020-04-14 19:25:45 +00:00
README Fix incorrect instance checks. 2020-04-14 19:25:45 +00:00

This directory contains tests specific to null safety weak mode
behavior.