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

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

Issue 19579002: Revert "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
« no previous file with comments | « runtime/tests/vm/dart/isolate_mirror_local_test.dart ('k') | sdk/lib/_internal/lib/js_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 73063750d38d7a3851512949c434b3ff417fae14..9d44abf4701f3711f13fa9286cd7a2f994892c83 100644
--- a/sdk/lib/_internal/lib/core_patch.dart
+++ b/sdk/lib/_internal/lib/core_patch.dart
@@ -114,13 +114,12 @@ patch class Error {
patch static String _objectToString(Object object) {
return Primitives.objectToString(object);
}
-}
-patch class StackTraceOnThrow {
- // TODO(11681): implement stackTrace on thrown Error.
+ // TODO(11681): implement stackTrace in error object.
patch StackTrace get stackTrace => null;
}
+
// Patch for DateTime implementation.
patch class DateTime {
patch DateTime._internal(int year,
« no previous file with comments | « runtime/tests/vm/dart/isolate_mirror_local_test.dart ('k') | sdk/lib/_internal/lib/js_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698