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

Unified Diff: test/codegen/expect/covariance.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/constructors.js ('k') | test/codegen/expect/dir/html_input_a.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/covariance.js
diff --git a/test/codegen/expect/covariance.js b/test/codegen/expect/covariance.js
index e3d53be0aeaa3e435ba06864959541bd30a32626..59f4e3d180a80274ffa812981868b1968d1a2c05 100644
--- a/test/codegen/expect/covariance.js
+++ b/test/codegen/expect/covariance.js
@@ -1,5 +1,6 @@
-var covariance;
-(function(exports) {
+var covariance = dart.defineLibrary(covariance, {});
+var core = dart.import(core);
+(function(exports, core) {
'use strict';
let _t = Symbol('_t');
let Foo$ = dart.generic(function(T) {
@@ -38,4 +39,4 @@ var covariance;
exports.Foo = Foo;
exports.Bar = Bar;
exports.main = main;
-})(covariance || (covariance = {}));
+})(covariance, core);
« no previous file with comments | « test/codegen/expect/constructors.js ('k') | test/codegen/expect/dir/html_input_a.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698