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

Side by Side Diff: test/codegen/expect/sunflower/circle.js

Issue 1243503007: fixes #221, initial sync*, async, async* implementation (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « test/codegen/expect/js_test.txt ('k') | test/codegen/expect/sunflower/dom.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart_library.library('circle', null, /* Imports */[ 1 dart_library.library('sunflower/circle', null, /* Imports */[
2 "dart_runtime/dart", 2 "dart_runtime/dart",
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 ], function(exports, dart, core) { 5 ], function(exports, dart, core) {
6 'use strict'; 6 'use strict';
7 let dartx = dart.dartx; 7 let dartx = dart.dartx;
8 class Circle extends core.Object { 8 class Circle extends core.Object {
9 Circle(x, y, radius) { 9 Circle(x, y, radius) {
10 this.x = x; 10 this.x = x;
11 this.y = y; 11 this.y = y;
12 this.radius = radius; 12 this.radius = radius;
13 } 13 }
14 } 14 }
15 dart.setSignature(Circle, { 15 dart.setSignature(Circle, {
16 constructors: () => ({Circle: [Circle, [core.num, core.num, core.num]]}) 16 constructors: () => ({Circle: [Circle, [core.num, core.num, core.num]]})
17 }); 17 });
18 // Exports: 18 // Exports:
19 exports.Circle = Circle; 19 exports.Circle = Circle;
20 }); 20 });
OLDNEW
« no previous file with comments | « test/codegen/expect/js_test.txt ('k') | test/codegen/expect/sunflower/dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698