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

Unified Diff: test/codegen/expect/sunflower/circle.js

Issue 1147053003: Modified sunflower (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Refactor 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 | « no previous file | test/codegen/expect/sunflower/painter.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/sunflower/circle.js
diff --git a/test/codegen/expect/sunflower/circle.js b/test/codegen/expect/sunflower/circle.js
new file mode 100644
index 0000000000000000000000000000000000000000..698bf9ccb9f32619e8dcc6ff63339b9ac5dcf572
--- /dev/null
+++ b/test/codegen/expect/sunflower/circle.js
@@ -0,0 +1,17 @@
+var circle = dart.defineLibrary(circle, {});
+var core = dart.import(core);
+(function(exports, core) {
+ 'use strict';
+ class Circle extends core.Object {
+ Circle(x, y, radius) {
+ this.x = x;
+ this.y = y;
+ this.radius = radius;
+ }
+ }
+ dart.setSignature(Circle, {
+ constructors: () => ({Circle: [Circle, [core.num, core.num, core.num]]})
+ });
+ // Exports:
+ exports.Circle = Circle;
+})(circle, core);
« no previous file with comments | « no previous file | test/codegen/expect/sunflower/painter.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698