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

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

Issue 967713002: fixes #69, avoid module name inside module scope (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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/async/async.js ('k') | test/codegen/expect/collection/collection.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 cascade; 1 var cascade;
2 (function(cascade) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 class A extends dart.Object { 4 class A extends dart.Object {
5 A() { 5 A() {
6 this.x = null; 6 this.x = null;
7 } 7 }
8 } 8 }
9 // Function test_closure_with_mutate: () → void 9 // Function test_closure_with_mutate: () → void
10 function test_closure_with_mutate() { 10 function test_closure_with_mutate() {
11 let a = new A(); 11 let a = new A();
12 a.x = () => { 12 a.x = () => {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Function test_VariableDeclaration_first: () → void 65 // Function test_VariableDeclaration_first: () → void
66 function test_VariableDeclaration_first() { 66 function test_VariableDeclaration_first() {
67 let a = ((_) => { 67 let a = ((_) => {
68 _.length = 2; 68 _.length = 2;
69 _.add(3); 69 _.add(3);
70 return _; 70 return _;
71 })(new List.from([])), b = 2; 71 })(new List.from([])), b = 2;
72 core.print(a); 72 core.print(a);
73 } 73 }
74 // Exports: 74 // Exports:
75 cascade.A = A; 75 exports.A = A;
76 cascade.test_closure_with_mutate = test_closure_with_mutate; 76 exports.test_closure_with_mutate = test_closure_with_mutate;
77 cascade.test_closure_without_mutate = test_closure_without_mutate; 77 exports.test_closure_without_mutate = test_closure_without_mutate;
78 cascade.test_mutate_inside_cascade = test_mutate_inside_cascade; 78 exports.test_mutate_inside_cascade = test_mutate_inside_cascade;
79 cascade.test_mutate_outside_cascade = test_mutate_outside_cascade; 79 exports.test_mutate_outside_cascade = test_mutate_outside_cascade;
80 cascade.test_VariableDeclaration_single = test_VariableDeclaration_single; 80 exports.test_VariableDeclaration_single = test_VariableDeclaration_single;
81 cascade.test_VariableDeclaration_last = test_VariableDeclaration_last; 81 exports.test_VariableDeclaration_last = test_VariableDeclaration_last;
82 cascade.test_VariableDeclaration_first = test_VariableDeclaration_first; 82 exports.test_VariableDeclaration_first = test_VariableDeclaration_first;
83 })(cascade || (cascade = {})); 83 })(cascade || (cascade = {}));
OLDNEW
« no previous file with comments | « test/codegen/expect/async/async.js ('k') | test/codegen/expect/collection/collection.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698