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

Unified Diff: sdk/lib/_internal/lib/core_patch.dart

Issue 18259021: Introduce StackTraceOnThrowMixin. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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
Index: sdk/lib/_internal/lib/core_patch.dart
diff --git a/sdk/lib/_internal/lib/core_patch.dart b/sdk/lib/_internal/lib/core_patch.dart
index 9d44abf4701f3711f13fa9286cd7a2f994892c83..8495d66d151b08c87a99c8a2070d584f398e7c8b 100644
--- a/sdk/lib/_internal/lib/core_patch.dart
+++ b/sdk/lib/_internal/lib/core_patch.dart
@@ -114,12 +114,13 @@ patch class Error {
patch static String _objectToString(Object object) {
return Primitives.objectToString(object);
}
+}
- // TODO(11681): implement stackTrace in error object.
+patch class StackTraceOnThrowMixin {
+ // TODO(11681): implement stackTrace on Error.
Lasse Reichstein Nielsen 2013/07/12 13:00:51 on Error -> on thrown?
floitsch 2013/07/12 15:30:14 Done.
patch StackTrace get stackTrace => null;
}
-
// Patch for DateTime implementation.
patch class DateTime {
patch DateTime._internal(int year,

Powered by Google App Engine
This is Rietveld 408576698