mirror of
https://github.com/dart-lang/sdk
synced 2024-09-19 15:11:35 +00:00
5a45d0b062
This CL updates typed_data.dart and unmodifiable_typed_data.dart such that there are no issues from the dartanalyzer, non-nullable, in the context of 103124, apart from conflicting_generic_interfaces, cf. SDK issue #38813. It updates _internal/js_dev_runtime/patch/typed_data_patch.dart and _internal/vm/lib/typed_data_patch.dart with respect to the members whose signatures were changed in the ...typed_data.dart libraries. It updates lib/collection.list at member signatures, in order to allow subtypes in ...typed_data to override a member with an NNBD- correct signature: `contains`, `lastIndexOf`, `lastIndexWhere`. The body of said members was adjusted to make it work in an NNBD setting. Change-Id: Idbdd738834d70f408f6b4d65fcbacde28abb8d15 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/121280 Commit-Queue: Erik Ernst <eernst@google.com> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> |
||
---|---|---|
.. | ||
typed_data.dart | ||
typed_data_sources.gni | ||
unmodifiable_typed_data.dart |