Index: pkg/stack_trace/lib/src/frame.dart |
diff --git a/pkg/stack_trace/lib/src/frame.dart b/pkg/stack_trace/lib/src/frame.dart |
index b2227370ec42b7414f958796e4288f61537fe5f0..e82f078b6ced59a0d56397673acc8bb1ce8b2865 100644 |
--- a/pkg/stack_trace/lib/src/frame.dart |
+++ b/pkg/stack_trace/lib/src/frame.dart |
@@ -16,7 +16,8 @@ final _vmFrame = new RegExp( |
// at VW.call$0 (http://pub.dartlang.org/stuff.dart.js:560:28) |
// at http://pub.dartlang.org/stuff.dart.js:560:28 |
final _v8Frame = new RegExp( |
- r'^\s*at (?:([^\s].*) \((.+):(\d+):(\d+)\)|(.+):(\d+):(\d+))$'); |
+ r'^\s*at (?:([^\s].*?)(?: \[as [^\]]+\])? ' |
+ r'\((.+):(\d+):(\d+)\)|(.+):(\d+):(\d+))$'); |
// .VW.call$0@http://pub.dartlang.org/stuff.dart.js:560 |
// .VW.call$0("arg")@http://pub.dartlang.org/stuff.dart.js:560 |