mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
c1ba3cf699
Closes https://github.com/dart-lang/sdk/issues/54192 Callbacks were being casted to their static type before being called. With generic callbacks, we do not know their exact type at compile time, therefore cannot make that cast. Similarly, a null check was being done if the static type of the parameter was potentially non-nullable, whereas it should be done if it's *not* potentially nullable. Change-Id: I3d30e901f1ff2ae4c17887564f15368244baeb24 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/340390 Reviewed-by: Sigmund Cherem <sigmund@google.com> |
||
---|---|---|
.. | ||
analyzer | ||
async | ||
collection | ||
convert | ||
developer | ||
fix_data_tests | ||
html | ||
isolate | ||
js | ||
js_interop_unsafe | ||
math | ||
mirrors | ||
typed_data | ||
web | ||
lib.status | ||
lib_analyzer.status | ||
lib_app_jit.status | ||
lib_dart2js.status | ||
lib_dartdevc.status | ||
lib_kernel.status | ||
lib_precompiled.status | ||
lib_vm.status |