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

Unified Diff: test/codegen/expect/sunflower/circle.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/opassign.js ('k') | test/codegen/expect/sunflower/dom.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/sunflower/circle.js
diff --git a/test/codegen/expect/sunflower/circle.js b/test/codegen/expect/sunflower/circle.js
index 698bf9ccb9f32619e8dcc6ff63339b9ac5dcf572..9fe464bcc4158b7bc8db4759ce561e6c28c67f8e 100644
--- a/test/codegen/expect/sunflower/circle.js
+++ b/test/codegen/expect/sunflower/circle.js
@@ -1,6 +1,7 @@
-var circle = dart.defineLibrary(circle, {});
-var core = dart.import(core);
-(function(exports, core) {
+dart.library('circle', null, /* Imports */[
+ 'dart/core'
+], /* Lazy imports */[
+], function(exports, core) {
'use strict';
class Circle extends core.Object {
Circle(x, y, radius) {
@@ -14,4 +15,4 @@ var core = dart.import(core);
});
// Exports:
exports.Circle = Circle;
-})(circle, core);
+});
« no previous file with comments | « test/codegen/expect/opassign.js ('k') | test/codegen/expect/sunflower/dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698