Index: test/codegen/expect/isolate/isolate.js |
diff --git a/test/codegen/expect/isolate/isolate.js b/test/codegen/expect/isolate/isolate.js |
index facbfa45d1aa9cbeee556948475823763941d462..ccf634546eb9397cfcdc795f9880562a0a6e0b05 100644 |
--- a/test/codegen/expect/isolate/isolate.js |
+++ b/test/codegen/expect/isolate/isolate.js |
@@ -1,6 +1,9 @@ |
var isolate; |
(function(isolate) { |
'use strict'; |
+ let _pause = Symbol('_pause'); |
+ let _description = Symbol('_description'); |
+ let _trace = Symbol('_trace'); |
class IsolateSpawnException extends dart.Object { |
IsolateSpawnException(message) { |
this.message = message; |
@@ -57,10 +60,10 @@ var isolate; |
resumeCapability = null; |
if (resumeCapability === null) |
resumeCapability = new Capability(); |
- this._pause(resumeCapability); |
+ this[_pause](resumeCapability); |
return resumeCapability; |
} |
- _pause(resumeCapability) { |
+ [_pause](resumeCapability) { |
let message = new core.List(3); |
dart.dsetindex(message, 0, "pause"); |
dart.dsetindex(message, 1, this.pauseCapability); |
@@ -177,19 +180,19 @@ var isolate; |
} |
class RemoteError extends dart.Object { |
RemoteError(description, stackDescription) { |
- this._description = description; |
+ this[_description] = description; |
this.stackTrace = new _RemoteStackTrace(stackDescription); |
} |
toString() { |
- return this._description; |
+ return this[_description]; |
} |
} |
class _RemoteStackTrace extends dart.Object { |
- _RemoteStackTrace(_trace) { |
- this._trace = _trace; |
+ _RemoteStackTrace($_trace) { |
+ this[_trace] = $_trace; |
} |
toString() { |
- return this._trace; |
+ return this[_trace]; |
} |
} |
class Capability extends dart.Object { |