mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 17:24:54 +00:00
eb5c77e7c2
Without the since information added, packages can use these APIs despite their SDK constraints potentially allowing SDK versions without them. For example, in package:leak_tracker recently: https://github.com/dart-lang/leak_tracker/issues/201. I only added Since information to APIs added since Dart 2.12 since that's the lowest relevant SDK constraint with sound null safety. TEST=ci Cq-Include-Trybots: luci.dart.try:flutter-analyze-try CoreLibraryReviewExempt: This CL does not change any APIs or their implementation, only adding relevant Since documentation to support correct triggering of the sdk_version_since diagnostic. Change-Id: I27613ebf745f084a3056b8ffd2542221d939a838 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/346200 Commit-Queue: Derek Xu <derekx@google.com> Reviewed-by: Derek Xu <derekx@google.com> Auto-Submit: Parker Lougheed <parlough@gmail.com> Reviewed-by: Nate Bosch <nbosch@google.com> |
||
---|---|---|
.. | ||
developer.dart | ||
developer_sources.gni | ||
extension.dart | ||
profiler.dart | ||
service.dart | ||
timeline.dart |