Update the example in the README. The package now does include line numbers for core libraries outside of terse mode. R=rnystrom@google.com Review URL: https://codereview.chromium.org//1573373002 .
diff --git a/pkgs/stack_trace/README.md b/pkgs/stack_trace/README.md index fe85adb..4fb3c50 100644 --- a/pkgs/stack_trace/README.md +++ b/pkgs/stack_trace/README.md
@@ -28,20 +28,20 @@ and its human-readable representation: - dart:core-patch Object.noSuchMethod + dart:core-patch 1884:25 Object.noSuchMethod pkg/stack_trace/lib/src/trace.dart 47:21 Trace.terse.<fn> - dart:collection IterableMixinWorkaround.reduce - dart:core-patch List.reduce + dart:collection 29:29 IterableMixinWorkaround.reduce + dart:core-patch 1247:42 List.reduce pkg/stack_trace/lib/src/trace.dart 40:35 Trace.terse pkg/stack_trace/lib/stack_trace.dart 24:28 format test.dart 21:29 main.<fn> - dart:async _CatchErrorFuture._sendError - dart:async _FutureImpl._setErrorWithoutAsyncTrace - dart:async _FutureImpl._setError - dart:async _ThenFuture._sendValue - dart:async _FutureImpl._handleValue.<fn> - dart:async Timer.run.<fn> - dart:async-patch Timer.Timer.<fn> + dart:async 525:24 _CatchErrorFuture._sendError + dart:async 393:26 _FutureImpl._setErrorWithoutAsyncTrace + dart:async 378:31 _FutureImpl._setError + dart:async 490:16 _ThenFuture._sendValue + dart:async 349:28 _FutureImpl._handleValue.<fn> + dart:async 2402:21 Timer.run.<fn> + dart:async-patch 15:15 Timer.Timer.<fn> You can further clean up the stack trace using `Trace.terse`. This folds together multiple stack frames from the Dart core libraries, so that only the
diff --git a/pkgs/stack_trace/pubspec.yaml b/pkgs/stack_trace/pubspec.yaml index 16b2a1f..242d305 100644 --- a/pkgs/stack_trace/pubspec.yaml +++ b/pkgs/stack_trace/pubspec.yaml
@@ -7,7 +7,7 @@ # # When the major version is upgraded, you *must* update that version constraint # in pub to stay in sync with this. -version: 1.5.1 +version: 1.5.2-dev author: "Dart Team <misc@dartlang.org>" homepage: http://github.com/dart-lang/stack_trace description: >