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

Unified Diff: test/codegen/expect/names.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/misc.js ('k') | test/codegen/expect/opassign.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/names.js
diff --git a/test/codegen/expect/names.js b/test/codegen/expect/names.js
index 4dbf7ff11b178684eaf719b5bdb559ad75ad39fb..42df4bd2a04266f264b0b946d46750bc632ac5a2 100644
--- a/test/codegen/expect/names.js
+++ b/test/codegen/expect/names.js
@@ -1,6 +1,7 @@
-var names = dart.defineLibrary(names, {});
-var core = dart.import(core);
-(function(exports, core) {
+dart.library('names', null, /* Imports */[
+ 'dart/core'
+], /* Lazy imports */[
+], function(exports, core) {
'use strict';
exports.exports = 42;
let _foo$ = Symbol('_foo');
@@ -56,4 +57,4 @@ var core = dart.import(core);
exports.Frame = Frame;
exports.Frame2 = Frame2;
exports.main = main;
-})(names, core);
+});
« no previous file with comments | « test/codegen/expect/misc.js ('k') | test/codegen/expect/opassign.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698