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

Unified Diff: test/codegen/expect/fieldtest.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/domtest.js ('k') | test/codegen/expect/functions.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/fieldtest.js
diff --git a/test/codegen/expect/fieldtest.js b/test/codegen/expect/fieldtest.js
index 99789cb1def1267dc9ebd1cccbdf2d8c6f144cd2..753c27fb07cc8c8d83cb6c6a8866e37b2b71e385 100644
--- a/test/codegen/expect/fieldtest.js
+++ b/test/codegen/expect/fieldtest.js
@@ -1,6 +1,7 @@
-var fieldtest = dart.defineLibrary(fieldtest, {});
-var core = dart.import(core);
-(function(exports, core) {
+dart.library('fieldtest', null, /* Imports */[
+ 'dart/core'
+], /* Lazy imports */[
+], function(exports, core) {
'use strict';
class A extends core.Object {
A() {
@@ -112,4 +113,4 @@ var core = dart.import(core);
exports.StaticFieldOrder1 = StaticFieldOrder1;
exports.StaticFieldOrder2 = StaticFieldOrder2;
exports.main = main;
-})(fieldtest, core);
+});
« no previous file with comments | « test/codegen/expect/domtest.js ('k') | test/codegen/expect/functions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698