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

Unified Diff: test/codegen/expect/DeltaBlue.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 | « test/browser/runtime_tests.js ('k') | test/codegen/expect/cascade.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/DeltaBlue.js
diff --git a/test/codegen/expect/DeltaBlue.js b/test/codegen/expect/DeltaBlue.js
index 10b134262e77ab692fe01e0d3793d22a022831ec..d3b07214b341eda86b02a638197840df0a77b72d 100644
--- a/test/codegen/expect/DeltaBlue.js
+++ b/test/codegen/expect/DeltaBlue.js
@@ -16,9 +16,6 @@ var core = dart.import(core);
projectionTest(100);
}
}
- dart.setSignature(DeltaBlue, {
- methods: () => ({run: dart.functionType(dart.void, [])})
- });
class Strength extends core.Object {
Strength(value, name) {
this.value = value;
@@ -172,10 +169,7 @@ var core = dart.import(core);
execute() {}
}
dart.setSignature(EditConstraint, {
- methods: () => ({
- isInput: dart.functionType(core.bool, []),
- execute: dart.functionType(dart.void, [])
- })
+ methods: () => ({execute: dart.functionType(dart.void, [])})
});
let NONE = 1;
let FORWARD = 2;
@@ -292,13 +286,7 @@ var core = dart.import(core);
}
}
dart.setSignature(ScaleConstraint, {
- methods: () => ({
- addToGraph: dart.functionType(dart.void, []),
- removeFromGraph: dart.functionType(dart.void, []),
- markInputs: dart.functionType(dart.void, [core.int]),
- execute: dart.functionType(dart.void, []),
- recalculate: dart.functionType(dart.void, [])
- })
+ methods: () => ({execute: dart.functionType(dart.void, [])})
});
class EqualityConstraint extends BinaryConstraint {
EqualityConstraint(v1, v2, strength) {
« no previous file with comments | « test/browser/runtime_tests.js ('k') | test/codegen/expect/cascade.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698