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

Side by Side Diff: test/codegen/expect/opassign.js

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Address comments 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 var opassign = dart.defineLibrary(opassign, {}); 1 dart.library('opassign', null, /* Imports */[
2 var core = dart.import(core); 2 'dart/core'
3 (function(exports, core) { 3 ], /* Lazy imports */[
4 ], function(exports, core) {
4 'use strict'; 5 'use strict';
5 dart.copyProperties(exports, { 6 dart.copyProperties(exports, {
6 get index() { 7 get index() {
7 core.print('called "index" getter'); 8 core.print('called "index" getter');
8 return 0; 9 return 0;
9 } 10 }
10 }); 11 });
11 dart.defineLazyProperties(exports, { 12 dart.defineLazyProperties(exports, {
12 get _foo() { 13 get _foo() {
13 return new Foo(); 14 return new Foo();
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 f.set(i$, dart.dsend(f.get(i$), '+', f.get(exports.index))); 48 f.set(i$, dart.dsend(f.get(i$), '+', f.get(exports.index)));
48 } 49 }
49 dart.fn(main); 50 dart.fn(main);
50 function forcePostfix(x) { 51 function forcePostfix(x) {
51 } 52 }
52 dart.fn(forcePostfix); 53 dart.fn(forcePostfix);
53 // Exports: 54 // Exports:
54 exports.Foo = Foo; 55 exports.Foo = Foo;
55 exports.main = main; 56 exports.main = main;
56 exports.forcePostfix = forcePostfix; 57 exports.forcePostfix = forcePostfix;
57 })(opassign, core); 58 });
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