Skip to content

Commit 705c745

Browse files
lrhnCommit Queue
authored and
Commit Queue
committed
Add @Since annotation, correct changelog entry position.
CoreLibraryReviewExempt: Trivial change. Change-Id: I5c23641ed562efe51c0c7c35517ba75fffdd05ad Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/372503 Reviewed-by: Kevin Moore <[email protected]> Commit-Queue: Lasse Nielsen <[email protected]>
1 parent 9a2d6f1 commit 705c745

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@
3434
(`add`, `subtract`, `difference`) where the `Duration` argument or result
3535
exceeds 570 years.
3636

37-
- Added superinterface `TypedDataList` to typed data lists, implementing both
38-
`List` and `TypedData`. Allows abstracting over all such lists without losing
39-
access to either the `List` or the `TypedData` members.
40-
A `ByteData` is still only a `TypedData`, not a list.
41-
4237
[#44876]: https://github.com/dart-lang/sdk/issues/44876
4338

4439
#### `dart:typed_data`
@@ -49,6 +44,11 @@
4944
To create an unmodifiable view of a typed-data object, use the
5045
`asUnmodifiableView()` methods added in Dart 3.3.
5146

47+
- Added superinterface `TypedDataList` to typed data lists, implementing both
48+
`List` and `TypedData`. Allows abstracting over all such lists without losing
49+
access to either the `List` or the `TypedData` members.
50+
A `ByteData` is still only a `TypedData`, not a list.
51+
5252
[#53785]: https://github.com/dart-lang/sdk/issues/53785
5353

5454
### Tools

sdk/lib/typed_data/typed_data.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ abstract final class TypedData {
359359
}
360360

361361
/// A [TypedData] fixed-length [List]-view on the bytes of [buffer].
362+
@Since("3.5")
362363
abstract final class TypedDataList<E> implements TypedData, List<E> {}
363364

364365
abstract final class _TypedIntList implements TypedDataList<int> {

0 commit comments

Comments
 (0)