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

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

Issue 1144303003: Use signature inheritance when method types are unchanged (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Remove empty signatures Created 5 years, 7 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 547cd41b1e12f76b281ca23ae2d1377713b0a432..898b8f7cee2119a004620d2493415aa4e797a746 100644
--- a/lib/runtime/dart/isolate.js
+++ b/lib/runtime/dart/isolate.js
@@ -9,7 +9,6 @@ var async = dart.import(async);
return new _isolate_helper.CapabilityImpl();
}
}
- dart.setSignature(Capability, {});
class IsolateSpawnException extends core.Object {
IsolateSpawnException(message) {
this.message = message;
@@ -19,9 +18,6 @@ var async = dart.import(async);
}
}
IsolateSpawnException[dart.implements] = () => [core.Exception];
- dart.setSignature(IsolateSpawnException, {
- methods: () => ({toString: dart.functionType(core.String, [])})
- });
let _pause = Symbol('_pause');
class Isolate extends core.Object {
Isolate(controlPort, opts) {
@@ -182,7 +178,6 @@ var async = dart.import(async);
});
class SendPort extends core.Object {}
SendPort[dart.implements] = () => [Capability];
- dart.setSignature(SendPort, {});
class ReceivePort extends core.Object {
ReceivePort() {
return new _isolate_helper.ReceivePortImpl();
@@ -193,7 +188,6 @@ var async = dart.import(async);
}
ReceivePort[dart.implements] = () => [async.Stream];
dart.defineNamedConstructor(ReceivePort, 'fromRawReceivePort');
- dart.setSignature(ReceivePort, {});
class RawReceivePort extends core.Object {
RawReceivePort(handler) {
if (handler === void 0)
@@ -201,7 +195,6 @@ var async = dart.import(async);
return new _isolate_helper.RawReceivePortImpl(handler);
}
}
- dart.setSignature(RawReceivePort, {});
class _IsolateUnhandledException extends core.Object {
_IsolateUnhandledException(message, source, stackTrace) {
this.message = message;
@@ -213,9 +206,6 @@ var async = dart.import(async);
}
}
_IsolateUnhandledException[dart.implements] = () => [core.Exception];
- dart.setSignature(_IsolateUnhandledException, {
- methods: () => ({toString: dart.functionType(core.String, [])})
- });
let _description = Symbol('_description');
class RemoteError extends core.Object {
RemoteError(description, stackDescription) {
@@ -227,9 +217,6 @@ var async = dart.import(async);
}
}
RemoteError[dart.implements] = () => [core.Error];
- dart.setSignature(RemoteError, {
- methods: () => ({toString: dart.functionType(core.String, [])})
- });
let _trace = Symbol('_trace');
class _RemoteStackTrace extends core.Object {
_RemoteStackTrace(trace) {
@@ -240,9 +227,6 @@ var async = dart.import(async);
}
}
_RemoteStackTrace[dart.implements] = () => [core.StackTrace];
- dart.setSignature(_RemoteStackTrace, {
- methods: () => ({toString: dart.functionType(core.String, [])})
- });
// 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