Skip to content

Commit 2a0bcaf

Browse files
committed
[3.0 alpha] Add onError removal to changelog.
Followup to https://dart-review.googlesource.com/c/sdk/+/259042 Change-Id: I9f21a58fe7baf9e0dc0a9b8b13900c72a07e0805 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275001 Reviewed-by: Lasse Nielsen <[email protected]>
1 parent 7670491 commit 2a0bcaf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#### `dart:core`
66

77
- **Breaking change** [#49529][]:
8+
- Removed the deprecated `onError` argument on [`int.parse`][], [`double.parse`][],
9+
and [`num.parse`][]. Use the [`tryParse`][] method instead.
810
- Removed the deprecated [`NoSuchMethodError`][] default constructor.
911
Use the [`NoSuchMethodError.withInvocation`][] named constructor instead.
1012
- Removed the deprecated [`proxy`][] and [`Provisional`][] annotations.
@@ -15,6 +17,10 @@
1517
Use [`Deprecated.message`][] instead.
1618

1719
[#49529]: https://github.com/dart-lang/sdk/issues/49529
20+
[`int.parse`]: https://api.dart.dev/stable/2.18.4/dart-core/int/parse.html
21+
[`double.parse`]: https://api.dart.dev/stable/2.18.4/dart-core/double/parse.html
22+
[`num.parse`]: https://api.dart.dev/stable/2.18.4/dart-core/num/parse.html
23+
[`tryParse`]: https://api.dart.dev/stable/2.18.4/dart-core/num/tryParse.html
1824
[`Deprecated.expires`]: https://api.dart.dev/stable/2.18.4/dart-core/Deprecated/expires.html
1925
[`Deprecated.message`]: https://api.dart.dev/stable/2.18.4/dart-core/Deprecated/message.html
2026
[`NoSuchMethodError`]: https://api.dart.dev/stable/2.18.4/dart-core/NoSuchMethodError/NoSuchMethodError.html

0 commit comments

Comments
 (0)