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

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

Issue 1047203002: compute interfaces lazily (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 00a3ec98fa92ad16f6810616cd11a979344f8555..b215271447ac7e3642f645452424e4100eaa5358 100644
--- a/lib/runtime/dart/isolate.js
+++ b/lib/runtime/dart/isolate.js
@@ -14,7 +14,7 @@ var isolate;
return `IsolateSpawnException: ${this.message}`;
}
}
- IsolateSpawnException[dart.implements] = [core.Exception];
+ IsolateSpawnException[dart.implements] = () => [core.Exception];
let _currentIsolateCache = Symbol('_currentIsolateCache');
let _pause = Symbol('_pause');
class Isolate extends core.Object {
@@ -157,7 +157,7 @@ var isolate;
});
class SendPort extends core.Object {
}
- SendPort[dart.implements] = [Capability];
+ SendPort[dart.implements] = () => [Capability];
class ReceivePort extends core.Object {
ReceivePort() {
return new _isolate_helper.ReceivePortImpl();
@@ -166,7 +166,7 @@ var isolate;
return new _isolate_helper.ReceivePortImpl.fromRawReceivePort(rawPort);
}
}
- ReceivePort[dart.implements] = [async.Stream];
+ ReceivePort[dart.implements] = () => [async.Stream];
dart.defineNamedConstructor(ReceivePort, 'fromRawReceivePort');
class RawReceivePort extends core.Object {
RawReceivePort(handler) {
@@ -185,7 +185,7 @@ var isolate;
return 'IsolateUnhandledException: exception while handling message: ' + `${this.message} \n ` + `${dart.dinvoke(dart.dinvoke(this.source, 'toString'), 'replaceAll', "\n", "\n ")}\n` + 'original stack trace:\n ' + `${this.stackTrace.toString().replaceAll("\n", "\n ")}`;
}
}
- _IsolateUnhandledException[dart.implements] = [core.Exception];
+ _IsolateUnhandledException[dart.implements] = () => [core.Exception];
let _description = Symbol('_description');
class RemoteError extends core.Object {
RemoteError(description, stackDescription) {
@@ -196,7 +196,7 @@ var isolate;
return this[_description];
}
}
- RemoteError[dart.implements] = [core.Error];
+ RemoteError[dart.implements] = () => [core.Error];
let _trace = Symbol('_trace');
class _RemoteStackTrace extends core.Object {
_RemoteStackTrace(trace) {
@@ -206,7 +206,7 @@ var isolate;
return this[_trace];
}
}
- _RemoteStackTrace[dart.implements] = [core.StackTrace];
+ _RemoteStackTrace[dart.implements] = () => [core.StackTrace];
// Exports:
exports.Capability = Capability;
exports.IsolateSpawnException = IsolateSpawnException;
« 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