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

Unified 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, 10 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/constructors/constructors.js
diff --git a/test/codegen/expect/constructors/constructors.js b/test/codegen/expect/constructors/constructors.js
index f009aea3623ab4516571f046c6b7859a294618c0..01653b26c53cf90912efd0bd61e6b882f810a276 100644
--- a/test/codegen/expect/constructors/constructors.js
+++ b/test/codegen/expect/constructors/constructors.js
@@ -1,5 +1,5 @@
var constructors;
-(function(constructors) {
+(function(exports) {
'use strict';
class A extends dart.Object {
}
@@ -101,20 +101,20 @@ var constructors;
dart.defineNamedConstructor(P, 'foo');
dart.defineNamedConstructor(P, 'bar');
// Exports:
- constructors.A = A;
- constructors.B = B;
- constructors.C = C;
- constructors.C2 = C2;
- constructors.D = D;
- constructors.E = E;
- constructors.F = F;
- constructors.G = G;
- constructors.H = H;
- constructors.I = I;
- constructors.J = J;
- constructors.K = K;
- constructors.L = L;
- constructors.M = M;
- constructors.N = N;
- constructors.P = P;
+ exports.A = A;
+ exports.B = B;
+ exports.C = C;
+ exports.C2 = C2;
+ exports.D = D;
+ exports.E = E;
+ exports.F = F;
+ exports.G = G;
+ exports.H = H;
+ exports.I = I;
+ exports.J = J;
+ exports.K = K;
+ exports.L = L;
+ exports.M = M;
+ exports.N = N;
+ exports.P = P;
})(constructors || (constructors = {}));
« 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