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

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

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Rework with canonical names 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
Index: test/codegen/expect/map_keys.js
diff --git a/test/codegen/expect/map_keys.js b/test/codegen/expect/map_keys.js
index 3b9724a4181792217d8c6f07dd197503a7cace6e..49c6f14972f30b5617b4868ea6798e958a71fdb5 100644
--- a/test/codegen/expect/map_keys.js
+++ b/test/codegen/expect/map_keys.js
@@ -1,7 +1,8 @@
-var map_keys = dart.defineLibrary(map_keys, {});
-var core = dart.import(core);
-var math = dart.import(math);
-(function(exports, core, math) {
+dart.library('map_keys.js', null, /* Imports */[
+ 'dart/core.js',
+ 'dart/math.js'
+], /* Lazy imports */[
+], function(exports, core, math) {
'use strict';
function main() {
core.print(dart.map({'1': 2, '3': 4, '5': 6}));
@@ -14,5 +15,5 @@ var math = dart.import(math);
dart.fn(main);
// Exports:
exports.main = main;
-})(map_keys, core, math);
+});
//# sourceMappingURL=map_keys.js.map

Powered by Google App Engine
This is Rietveld 408576698