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

Unified Diff: lib/runtime/dart/math.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: 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
Index: lib/runtime/dart/math.js
diff --git a/lib/runtime/dart/math.js b/lib/runtime/dart/math.js
index 0316293e2e9a3ec9aea062d1784117c96ce60004..9807a9cf1e3a48404e01c9d25125d503b93bfa11 100644
--- a/lib/runtime/dart/math.js
+++ b/lib/runtime/dart/math.js
@@ -76,8 +76,6 @@ var _js_helper = dart.lazyImport(_js_helper);
}
dart.setSignature(Point, {
methods: () => ({
- toString: dart.functionType(core.String, []),
- '==': dart.functionType(core.bool, [dart.dynamic]),
'+': dart.functionType(Point$(T), [Point$(T)]),
'-': dart.functionType(Point$(T), [Point$(T)]),
'*': dart.functionType(Point$(T), [core.num]),
@@ -162,8 +160,6 @@ var _js_helper = dart.lazyImport(_js_helper);
}
dart.setSignature(_RectangleBase, {
methods: () => ({
- toString: dart.functionType(core.String, []),
- '==': dart.functionType(core.bool, [dart.dynamic]),
intersection: dart.functionType(Rectangle$(T), [Rectangle$(T)]),
intersects: dart.functionType(core.bool, [Rectangle$(core.num)]),
boundingBox: dart.functionType(Rectangle$(T), [Rectangle$(T)]),

Powered by Google App Engine
This is Rietveld 408576698