Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: lib/src/chain.dart

Issue 1834263004: Fix a syntax error. (Closed) Base URL: git@github.com:dart-lang/stack_trace@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/chain.dart
diff --git a/lib/src/chain.dart b/lib/src/chain.dart
index b436651297619b8b8289036bb3c1ea5badd99013..6de670f222ce1a8f88524e7d5d082d0b3798fa19 100644
--- a/lib/src/chain.dart
+++ b/lib/src/chain.dart
@@ -68,7 +68,7 @@ class Chain implements StackTrace {
/// considered unhandled.
///
/// If [callback] returns a value, it will be returned by [capture] as well.
- static /*=T*? capture/*<T>*/(/*=T*/ callback(),
+ static /*=T*/ capture/*<T>*/(/*=T*/ callback(),
{void onError(error, Chain chain), bool when: true}) {
if (!when) {
var newOnError;
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698