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

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

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Address comments Created 5 years, 6 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/names.js ('k') | test/codegen/expect/sunflower/circle.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/opassign.js
diff --git a/test/codegen/expect/opassign.js b/test/codegen/expect/opassign.js
index 3429d82797983c17f7fb8df6a84c648e40a7989a..2710e69907d19df2c7ceb612ce175d07f4d8ec30 100644
--- a/test/codegen/expect/opassign.js
+++ b/test/codegen/expect/opassign.js
@@ -1,6 +1,7 @@
-var opassign = dart.defineLibrary(opassign, {});
-var core = dart.import(core);
-(function(exports, core) {
+dart.library('opassign', null, /* Imports */[
+ 'dart/core'
+], /* Lazy imports */[
+], function(exports, core) {
'use strict';
dart.copyProperties(exports, {
get index() {
@@ -54,4 +55,4 @@ var core = dart.import(core);
exports.Foo = Foo;
exports.main = main;
exports.forcePostfix = forcePostfix;
-})(opassign, core);
+});
« no previous file with comments | « test/codegen/expect/names.js ('k') | test/codegen/expect/sunflower/circle.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698