Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit d507b84

Browse files
committed
1 parent 099f8fe commit d507b84

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.6.4
2+
3+
* Fix a syntax error introduced in 1.6.3.
4+
15
## 1.6.3
26

37
* Make `Chain.capture()` generic. Its signature is now `T Chain.capture<T>(T

lib/src/chain.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class Chain implements StackTrace {
6868
/// considered unhandled.
6969
///
7070
/// If [callback] returns a value, it will be returned by [capture] as well.
71-
static /*=T*? capture/*<T>*/(/*=T*/ callback(),
71+
static /*=T*/ capture/*<T>*/(/*=T*/ callback(),
7272
{void onError(error, Chain chain), bool when: true}) {
7373
if (!when) {
7474
var newOnError;

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: stack_trace
77
#
88
# When the major version is upgraded, you *must* update that version constraint
99
# in pub to stay in sync with this.
10-
version: 1.6.3
10+
version: 1.6.4
1111
author: "Dart Team <[email protected]>"
1212
homepage: http://github.com/dart-lang/stack_trace
1313
description: >

0 commit comments

Comments
 (0)