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

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

Issue 1043003002: keep mixin and interface implementation info at runtime (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 52272a90a6f4126e590f9f07755c9cfa461768bb..bbd904e56beab0655d6a1823e73c15ed59511ebc 100644
--- a/lib/runtime/dart/isolate.js
+++ b/lib/runtime/dart/isolate.js
@@ -14,6 +14,7 @@ var isolate;
return `IsolateSpawnException: ${this.message}`;
}
}
+ IsolateSpawnException[dart.implements] = [core.Exception];
let _currentIsolateCache = Symbol('_currentIsolateCache');
let _pause = Symbol('_pause');
class Isolate extends core.Object {
@@ -156,6 +157,7 @@ var isolate;
});
class SendPort extends core.Object {
}
+ SendPort[dart.implements] = [Capability];
class ReceivePort extends core.Object {
ReceivePort() {
return new _isolate_helper.ReceivePortImpl();
@@ -164,6 +166,7 @@ var isolate;
return new _isolate_helper.ReceivePortImpl.fromRawReceivePort(rawPort);
}
}
+ ReceivePort[dart.implements] = [async.Stream];
dart.defineNamedConstructor(ReceivePort, 'fromRawReceivePort');
class RawReceivePort extends core.Object {
RawReceivePort(handler) {
@@ -182,6 +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];
let _description = Symbol('_description');
class RemoteError extends core.Object {
RemoteError(description, stackDescription) {
@@ -192,6 +196,7 @@ var isolate;
return this[_description];
}
}
+ RemoteError[dart.implements] = [core.Error];
let _trace = Symbol('_trace');
class _RemoteStackTrace extends core.Object {
_RemoteStackTrace(trace) {
@@ -201,6 +206,7 @@ var isolate;
return this[_trace];
}
}
+ _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