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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/js_helper.dart

Issue 14009004: Remove methods on StackTrace class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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/compiler/implementation/lib/js_helper.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
index badbb4dd1186584f34d1bf51708783def14f5ac9..f1b336263cc226670aeef27108fd3c9332d492f4 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
@@ -812,13 +812,13 @@ unwrapException(ex) {
* exception.
*/
StackTrace getTraceFromException(exception) {
- return new StackTrace(JS("var", r"#.stack", exception));
+ return new _StackTrace(JS("var", r"#.stack", exception));
}
-class StackTrace {
- var stack;
- StackTrace(this.stack);
- String toString() => stack != null ? stack : '';
+class _StackTrace implements StackTrace {
+ var _stack;
+ _StackTrace(this._stack);
+ String toString() => _stack != null ? _stack : '';
}

Powered by Google App Engine
This is Rietveld 408576698