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

Unified Diff: pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js

Issue 2301973002: More DDC mirrors support (Closed)
Patch Set: Format fixes per comments Created 4 years, 3 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: pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js
diff --git a/pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js b/pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js
index 566732807cdb3d4d8e947b9d9d1cd1939459bb05..2d39d4b9ab09cd0bb93e772938a59d5e55dc087c 100644
--- a/pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js
+++ b/pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js
@@ -72,7 +72,12 @@ define(['dart_sdk'], function(dart_sdk) {
}
};
dart.setSignature(circle.Circle, {
- constructors: () => ({new: dart.definiteFunctionType(circle.Circle, [core.num, core.num, core.num])})
+ constructors: () => ({new: dart.definiteFunctionType(circle.Circle, [core.num, core.num, core.num])}),
+ fields: () => ({
+ x: core.num,
+ y: core.num,
+ radius: core.num
+ })
});
painter.CirclePainter = class CirclePainter extends core.Object {
new() {
@@ -91,6 +96,7 @@ define(['dart_sdk'], function(dart_sdk) {
};
painter.CirclePainter[dart.implements] = () => [circle.Circle];
dart.setSignature(painter.CirclePainter, {
+ fields: () => ({color: core.String}),
methods: () => ({draw: dart.definiteFunctionType(dart.void, [html.CanvasRenderingContext2D])})
});
sunflower.SunflowerSeed = class SunflowerSeed extends dart.mixin(circle.Circle, painter.CirclePainter) {
« no previous file with comments | « pkg/dev_compiler/test/codegen_expected/expect.js ('k') | pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js.map » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698