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

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

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Eliminate top level libraries from loader Created 5 years, 6 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
OLDNEW
1 dart.library('circle', null, /* Imports */[ 1 loader.library('circle', null, /* Imports */[
2 "dart/dart_runtime",
3 "dart/dartx",
2 'dart/core' 4 'dart/core'
3 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
4 ], function(exports, core) { 6 ], function(exports, dart, dartx, core) {
5 'use strict'; 7 'use strict';
6 class Circle extends core.Object { 8 class Circle extends core.Object {
7 Circle(x, y, radius) { 9 Circle(x, y, radius) {
8 this.x = x; 10 this.x = x;
9 this.y = y; 11 this.y = y;
10 this.radius = radius; 12 this.radius = radius;
11 } 13 }
12 } 14 }
13 dart.setSignature(Circle, { 15 dart.setSignature(Circle, {
14 constructors: () => ({Circle: [Circle, [core.num, core.num, core.num]]}) 16 constructors: () => ({Circle: [Circle, [core.num, core.num, core.num]]})
15 }); 17 });
16 // Exports: 18 // Exports:
17 exports.Circle = Circle; 19 exports.Circle = Circle;
18 }); 20 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698