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

Side by Side Diff: test/codegen/expect/opassign.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/names.js ('k') | test/codegen/expect/sunflower/circle.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('opassign', null, /* Imports */[ 1 dart_library.library('opassign', 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 dart.copyProperties(exports, { 8 dart.copyProperties(exports, {
7 get index() { 9 get index() {
8 core.print('called "index" getter'); 10 core.print('called "index" getter');
9 return 0; 11 return 0;
10 } 12 }
11 }); 13 });
12 dart.defineLazyProperties(exports, { 14 dart.defineLazyProperties(exports, {
13 get _foo() { 15 get _foo() {
14 return new Foo(); 16 return new Foo();
15 } 17 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 51 }
50 dart.fn(main); 52 dart.fn(main);
51 function forcePostfix(x) { 53 function forcePostfix(x) {
52 } 54 }
53 dart.fn(forcePostfix); 55 dart.fn(forcePostfix);
54 // Exports: 56 // Exports:
55 exports.Foo = Foo; 57 exports.Foo = Foo;
56 exports.main = main; 58 exports.main = main;
57 exports.forcePostfix = forcePostfix; 59 exports.forcePostfix = forcePostfix;
58 }); 60 });
OLDNEW
« no previous file with comments | « test/codegen/expect/names.js ('k') | test/codegen/expect/sunflower/circle.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698