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

Unified Diff: test/codegen/expect/misc.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/methods.js ('k') | test/codegen/expect/names.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/misc.js
diff --git a/test/codegen/expect/misc.js b/test/codegen/expect/misc.js
index 12c8719c41ccc015b16f6bc9a238fe6a341c754c..f6cca28443913084dfd73831a2ff6f93d8195ed3 100644
--- a/test/codegen/expect/misc.js
+++ b/test/codegen/expect/misc.js
@@ -1,6 +1,7 @@
-var misc = dart.defineLibrary(misc, {});
-var core = dart.import(core);
-(function(exports, core) {
+dart.library('misc', null, /* Imports */[
+ 'dart/core'
+], /* Lazy imports */[
+], function(exports, core) {
'use strict';
class _Uninitialized extends core.Object {
_Uninitialized() {
@@ -34,4 +35,4 @@ var core = dart.import(core);
exports.Generic$ = Generic$;
exports.Generic = Generic;
exports.main = main;
-})(misc, core);
+});
« no previous file with comments | « test/codegen/expect/methods.js ('k') | test/codegen/expect/names.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698