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

Unified Diff: test/codegen/expect/DeltaBlue.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/BenchmarkBase.js ('k') | test/codegen/expect/cascade.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/DeltaBlue.js
diff --git a/test/codegen/expect/DeltaBlue.js b/test/codegen/expect/DeltaBlue.js
index 946139f95a29ccfa1eddae381e1525cb27d07b5e..cf3a6684b258fef11b6ac33991bafad210c235e1 100644
--- a/test/codegen/expect/DeltaBlue.js
+++ b/test/codegen/expect/DeltaBlue.js
@@ -1,7 +1,8 @@
-var DeltaBlue = dart.defineLibrary(DeltaBlue, {});
-var BenchmarkBase = dart.import(BenchmarkBase);
-var core = dart.import(core);
-(function(exports, BenchmarkBase, core) {
+dart.library('DeltaBlue', null, /* Imports */[
+ 'BenchmarkBase',
+ 'dart/core'
+], /* Lazy imports */[
+], function(exports, BenchmarkBase, core) {
'use strict';
function main() {
new DeltaBlue().report();
@@ -562,4 +563,4 @@ var core = dart.import(core);
exports.chainTest = chainTest;
exports.projectionTest = projectionTest;
exports.change = change;
-})(DeltaBlue, BenchmarkBase, core);
+});
« no previous file with comments | « test/codegen/expect/BenchmarkBase.js ('k') | test/codegen/expect/cascade.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698