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

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: Address comments 2 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
« no previous file with comments | « test/codegen/expect/map_keys.js ('k') | test/codegen/expect/misc.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('methods', null, /* Imports */[ 1 dart_library.library('methods', null, /* Imports */[
2 "dart_runtime/dart",
2 'dart/core' 3 'dart/core'
3 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
4 ], function(exports, core) { 5 ], function(exports, dart, core) {
5 'use strict'; 6 'use strict';
7 let dartx = dart.dartx;
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) {
15 return a; 17 return a;
(...skipping 58 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
« no previous file with comments | « test/codegen/expect/map_keys.js ('k') | test/codegen/expect/misc.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698