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

Side by Side Diff: test/codegen/expect/constructors/constructors.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/collection/collection.js ('k') | test/codegen/expect/convert/convert.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 constructors; 1 var constructors;
2 (function(constructors) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 class A extends dart.Object { 4 class A extends dart.Object {
5 } 5 }
6 class B extends dart.Object { 6 class B extends dart.Object {
7 B() { 7 B() {
8 } 8 }
9 } 9 }
10 class C extends dart.Object { 10 class C extends dart.Object {
11 C$named() { 11 C$named() {
12 } 12 }
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 P$foo(x) { 94 P$foo(x) {
95 this.P(x + 42); 95 this.P(x + 42);
96 } 96 }
97 P$bar() { 97 P$bar() {
98 this.P$foo(1); 98 this.P$foo(1);
99 } 99 }
100 } 100 }
101 dart.defineNamedConstructor(P, 'foo'); 101 dart.defineNamedConstructor(P, 'foo');
102 dart.defineNamedConstructor(P, 'bar'); 102 dart.defineNamedConstructor(P, 'bar');
103 // Exports: 103 // Exports:
104 constructors.A = A; 104 exports.A = A;
105 constructors.B = B; 105 exports.B = B;
106 constructors.C = C; 106 exports.C = C;
107 constructors.C2 = C2; 107 exports.C2 = C2;
108 constructors.D = D; 108 exports.D = D;
109 constructors.E = E; 109 exports.E = E;
110 constructors.F = F; 110 exports.F = F;
111 constructors.G = G; 111 exports.G = G;
112 constructors.H = H; 112 exports.H = H;
113 constructors.I = I; 113 exports.I = I;
114 constructors.J = J; 114 exports.J = J;
115 constructors.K = K; 115 exports.K = K;
116 constructors.L = L; 116 exports.L = L;
117 constructors.M = M; 117 exports.M = M;
118 constructors.N = N; 118 exports.N = N;
119 constructors.P = P; 119 exports.P = P;
120 })(constructors || (constructors = {})); 120 })(constructors || (constructors = {}));
OLDNEW
« no previous file with comments | « test/codegen/expect/collection/collection.js ('k') | test/codegen/expect/convert/convert.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698