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

Unified Diff: test/codegen/expect/cascade.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/cascade.js
diff --git a/test/codegen/expect/cascade.js b/test/codegen/expect/cascade.js
index a5f8babda0f22294bb08b3790e13ee66d8086fb0..c69d9633ab3b1aab65f96222980d151692df645a 100644
--- a/test/codegen/expect/cascade.js
+++ b/test/codegen/expect/cascade.js
@@ -1,6 +1,7 @@
-var cascade = dart.defineLibrary(cascade, {});
-var core = dart.import(core);
-(function(exports, core) {
+dart.library('cascade.js', null, /* Imports */[
+ 'dart/core.js'
+], /* Lazy imports */[
+], function(exports, core) {
'use strict';
class A extends core.Object {
A() {
@@ -119,4 +120,4 @@ var core = dart.import(core);
exports.Base$ = Base$;
exports.Base = Base;
exports.Foo = Foo;
-})(cascade, core);
+});

Powered by Google App Engine
This is Rietveld 408576698