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

Unified Diff: lib/runtime/dart/isolate.js

Issue 1111863002: fix static members in _emitMemberName (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: catch more cases Created 5 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
« no previous file with comments | « lib/runtime/dart/core.js ('k') | lib/runtime/dart/math.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/isolate.js
diff --git a/lib/runtime/dart/isolate.js b/lib/runtime/dart/isolate.js
index ab9b39a3ae11fd30a781fdbaeed4150974e261fa..e8f16f83952fb18f7e6398127a24ddc88e6e322e 100644
--- a/lib/runtime/dart/isolate.js
+++ b/lib/runtime/dart/isolate.js
@@ -15,7 +15,6 @@ var isolate;
}
}
IsolateSpawnException[dart.implements] = () => [core.Exception];
- let _currentIsolateCache = Symbol('_currentIsolateCache');
let _pause = Symbol('_pause');
class Isolate extends core.Object {
Isolate(controlPort, opts) {
@@ -26,7 +25,7 @@ var isolate;
this.terminateCapability = terminateCapability;
}
static get current() {
- return Isolate[_currentIsolateCache];
+ return Isolate._currentIsolateCache;
}
static spawn(entryPoint, message, opts) {
let paused = opts && 'paused' in opts ? opts.paused : false;
@@ -155,7 +154,7 @@ var isolate;
Isolate.BEFORE_NEXT_EVENT = 1;
Isolate.AS_EVENT = 2;
dart.defineLazyProperties(Isolate, {
- get [_currentIsolateCache]() {
+ get _currentIsolateCache() {
return _isolate_helper.IsolateNatives.currentIsolate;
}
});
« no previous file with comments | « lib/runtime/dart/core.js ('k') | lib/runtime/dart/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698