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

Unified Diff: pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart

Issue 93143002: Make pkg/stack_trace use stack chains. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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
Index: pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart
diff --git a/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart b/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart
index 130cfddcf13a0b55c5f2498a16d5d1e78cfc8e59..4ce8602fb6f2256cb332c6c42780de5bca47bf63 100644
--- a/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart
+++ b/pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart
@@ -8,6 +8,7 @@ import 'dart:async';
import 'dart:io';
import 'package:path/path.dart' as path;
+import 'package:stack_trace/stack_trace.dart';
import '../../descriptor.dart';
import '../../scheduled_test.dart';
@@ -112,5 +113,6 @@ class PatternDescriptor extends Descriptor {
}
Future create([String parent]) => new Future.error(
- new UnsupportedError("Pattern descriptors don't support create()."));
+ new UnsupportedError("Pattern descriptors don't support create()."),
+ new Chain.current());
}
« no previous file with comments | « pkg/scheduled_test/lib/src/descriptor/nothing_descriptor.dart ('k') | pkg/scheduled_test/lib/src/schedule.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698