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

Unified Diff: test/codegen/expect/misc.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/misc.js
diff --git a/test/codegen/expect/misc.js b/test/codegen/expect/misc.js
index 12c8719c41ccc015b16f6bc9a238fe6a341c754c..ce53c72170c8b8b06e96a42753f1f098493f16b3 100644
--- a/test/codegen/expect/misc.js
+++ b/test/codegen/expect/misc.js
@@ -1,6 +1,7 @@
-var misc = dart.defineLibrary(misc, {});
-var core = dart.import(core);
-(function(exports, core) {
+dart.library('misc.js', null, /* Imports */[
+ 'dart/core.js'
+], /* Lazy imports */[
+], function(exports, core) {
'use strict';
class _Uninitialized extends core.Object {
_Uninitialized() {
@@ -34,4 +35,4 @@ var core = dart.import(core);
exports.Generic$ = Generic$;
exports.Generic = Generic;
exports.main = main;
-})(misc, core);
+});

Powered by Google App Engine
This is Rietveld 408576698