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

Side by Side Diff: test/codegen/expect/cascade.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 unified diff | Download patch
« no previous file with comments | « test/codegen/expect/DeltaBlue.js ('k') | test/codegen/expect/constructors.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var cascade = dart.defineLibrary(cascade, {}); 1 dart.library('cascade', null, /* Imports */[
2 var core = dart.import(core); 2 'dart/core'
3 (function(exports, core) { 3 ], /* Lazy imports */[
4 ], function(exports, core) {
4 'use strict'; 5 'use strict';
5 class A extends core.Object { 6 class A extends core.Object {
6 A() { 7 A() {
7 this.x = null; 8 this.x = null;
8 } 9 }
9 } 10 }
10 function test_closure_with_mutate() { 11 function test_closure_with_mutate() {
11 let a = new A(); 12 let a = new A();
12 a.x = dart.fn(() => { 13 a.x = dart.fn(() => {
13 core.print("hi"); 14 core.print("hi");
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 exports.test_closure_without_mutate = test_closure_without_mutate; 113 exports.test_closure_without_mutate = test_closure_without_mutate;
113 exports.test_mutate_inside_cascade = test_mutate_inside_cascade; 114 exports.test_mutate_inside_cascade = test_mutate_inside_cascade;
114 exports.test_mutate_outside_cascade = test_mutate_outside_cascade; 115 exports.test_mutate_outside_cascade = test_mutate_outside_cascade;
115 exports.test_VariableDeclaration_single = test_VariableDeclaration_single; 116 exports.test_VariableDeclaration_single = test_VariableDeclaration_single;
116 exports.test_VariableDeclaration_last = test_VariableDeclaration_last; 117 exports.test_VariableDeclaration_last = test_VariableDeclaration_last;
117 exports.test_VariableDeclaration_first = test_VariableDeclaration_first; 118 exports.test_VariableDeclaration_first = test_VariableDeclaration_first;
118 exports.test_increment = test_increment; 119 exports.test_increment = test_increment;
119 exports.Base$ = Base$; 120 exports.Base$ = Base$;
120 exports.Base = Base; 121 exports.Base = Base;
121 exports.Foo = Foo; 122 exports.Foo = Foo;
122 })(cascade, core); 123 });
OLDNEW
« no previous file with comments | « test/codegen/expect/DeltaBlue.js ('k') | test/codegen/expect/constructors.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698