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

Unified Diff: test/codegen/expect/functions.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/functions.js
diff --git a/test/codegen/expect/functions.js b/test/codegen/expect/functions.js
index 6eb73b2a88e118caa49f38a61b4f8d475beeaf73..376cadee075a7613579a3df47ec2a26f9a671abb 100644
--- a/test/codegen/expect/functions.js
+++ b/test/codegen/expect/functions.js
@@ -1,6 +1,7 @@
-var functions = dart.defineLibrary(functions, {});
-var core = dart.import(core);
-(function(exports, core) {
+dart.library('functions.js', null, /* Imports */[
+ 'dart/core.js'
+], /* Lazy imports */[
+], function(exports, core) {
'use strict';
function bootstrap() {
return dart.list([new Foo()], Foo);
@@ -27,4 +28,4 @@ var core = dart.import(core);
exports.id = id;
exports.Foo = Foo;
exports.main = main;
-})(functions, core);
+});

Powered by Google App Engine
This is Rietveld 408576698