Chromium Code Reviews

Unified Diff: test/codegen/expect/BenchmarkBase.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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « test/codegen/expect/8invalid-chars.in+file_name.js ('k') | test/codegen/expect/DeltaBlue.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/BenchmarkBase.js
diff --git a/test/codegen/expect/BenchmarkBase.js b/test/codegen/expect/BenchmarkBase.js
index fb9a92a334200e032b5edcb132dfcc4547b50406..a395c7829f0364fe0f71cef608406736a08aeb2a 100644
--- a/test/codegen/expect/BenchmarkBase.js
+++ b/test/codegen/expect/BenchmarkBase.js
@@ -1,6 +1,7 @@
-var BenchmarkBase = dart.defineLibrary(BenchmarkBase, {});
-var core = dart.import(core);
-(function(exports, core) {
+dart.library('BenchmarkBase', null, /* Imports */[
+ 'dart/core'
+], /* Lazy imports */[
+], function(exports, core) {
'use strict';
class Expect extends core.Object {
static equals(expected, actual) {
@@ -89,4 +90,4 @@ var core = dart.import(core);
// Exports:
exports.Expect = Expect;
exports.BenchmarkBase = BenchmarkBase;
-})(BenchmarkBase, core);
+});
« no previous file with comments | « test/codegen/expect/8invalid-chars.in+file_name.js ('k') | test/codegen/expect/DeltaBlue.js » ('j') | no next file with comments »

Powered by Google App Engine