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

Side by Side Diff: test/codegen/expect/methods.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('methods', null, /* Imports */[ 1 loader.library('methods', 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 let _c = Symbol('_c'); 8 let _c = Symbol('_c');
7 class A extends core.Object { 9 class A extends core.Object {
8 A() { 10 A() {
9 this[_c] = 3; 11 this[_c] = 3;
10 } 12 }
11 x() { 13 x() {
12 return 42; 14 return 42;
13 } 15 }
14 y(a) { 16 y(a) {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 let aa = new A(); 76 let aa = new A();
75 let h = dart.dload(aa, 'x'); 77 let h = dart.dload(aa, 'x');
76 } 78 }
77 dart.fn(test); 79 dart.fn(test);
78 // Exports: 80 // Exports:
79 exports.A = A; 81 exports.A = A;
80 exports.Bar = Bar; 82 exports.Bar = Bar;
81 exports.Foo = Foo; 83 exports.Foo = Foo;
82 exports.test = test; 84 exports.test = test;
83 }); 85 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698