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

Unified Diff: test/codegen/expect/covariance.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/constructors.js ('k') | test/codegen/expect/dir/html_input_a.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/covariance.js
diff --git a/test/codegen/expect/covariance.js b/test/codegen/expect/covariance.js
index e5eb3d3a5840a2349cdcd7647a2255f9fc5d7bb7..24cf78517c3535f67ba82d63a55c3c574539d6b0 100644
--- a/test/codegen/expect/covariance.js
+++ b/test/codegen/expect/covariance.js
@@ -1,6 +1,7 @@
-var covariance = dart.defineLibrary(covariance, {});
-var core = dart.import(core);
-(function(exports, core) {
+dart.library('covariance', null, /* Imports */[
+ 'dart/core'
+], /* Lazy imports */[
+], function(exports, core) {
'use strict';
let _t = Symbol('_t');
let Foo$ = dart.generic(function(T) {
@@ -48,4 +49,4 @@ var core = dart.import(core);
exports.Foo = Foo;
exports.Bar = Bar;
exports.main = main;
-})(covariance, core);
+});
« no previous file with comments | « test/codegen/expect/constructors.js ('k') | test/codegen/expect/dir/html_input_a.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698