| 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 1470bade848889ec4488f75881e67a8b997fbd95..7cca7587c16e4bd7056bbf48899b838f72497e23 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
|
| @@ -824,13 +824,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 : '';
|
| }
|
|
|
|
|
|
|