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

Unified Diff: test/codegen/expect/fieldtest.js

Issue 1122133003: fixes #157, renaming local library identifiers if needed. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebase and format Created 5 years, 7 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/dir/html_input_e.js ('k') | test/codegen/expect/map_keys.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/fieldtest.js
diff --git a/test/codegen/expect/fieldtest.js b/test/codegen/expect/fieldtest.js
index a3c09d8a9c81c356b2f21c580991ed7c2c17c7bb..707e2d7f83dedfb26d91626be23773976e3280d2 100644
--- a/test/codegen/expect/fieldtest.js
+++ b/test/codegen/expect/fieldtest.js
@@ -1,5 +1,6 @@
-var fieldtest;
-(function(exports) {
+var fieldtest = dart.defineLibrary(fieldtest, {});
+var core = dart.import(core);
+(function(exports, core) {
'use strict';
class A extends core.Object {
A() {
@@ -82,4 +83,4 @@ var fieldtest;
exports.BaseWithGetter = BaseWithGetter;
exports.Derived = Derived;
exports.main = main;
-})(fieldtest || (fieldtest = {}));
+})(fieldtest, core);
« no previous file with comments | « test/codegen/expect/dir/html_input_e.js ('k') | test/codegen/expect/map_keys.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698