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

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: 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
OLDNEW
1 var cascade = dart.defineLibrary(cascade, {}); 1 dart.defineLibrary('cascade');
2 var core = dart.import(core); 2 dart.import('core');
3 (function(exports, core) { 3 (function(exports, core) {
4 'use strict'; 4 'use strict';
5 class A extends core.Object { 5 class A extends core.Object {
6 A() { 6 A() {
7 this.x = null; 7 this.x = null;
8 } 8 }
9 } 9 }
10 function test_closure_with_mutate() { 10 function test_closure_with_mutate() {
11 let a = new A(); 11 let a = new A();
12 a.x = dart.fn(() => { 12 a.x = dart.fn(() => {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 exports.test_mutate_inside_cascade = test_mutate_inside_cascade; 113 exports.test_mutate_inside_cascade = test_mutate_inside_cascade;
114 exports.test_mutate_outside_cascade = test_mutate_outside_cascade; 114 exports.test_mutate_outside_cascade = test_mutate_outside_cascade;
115 exports.test_VariableDeclaration_single = test_VariableDeclaration_single; 115 exports.test_VariableDeclaration_single = test_VariableDeclaration_single;
116 exports.test_VariableDeclaration_last = test_VariableDeclaration_last; 116 exports.test_VariableDeclaration_last = test_VariableDeclaration_last;
117 exports.test_VariableDeclaration_first = test_VariableDeclaration_first; 117 exports.test_VariableDeclaration_first = test_VariableDeclaration_first;
118 exports.test_increment = test_increment; 118 exports.test_increment = test_increment;
119 exports.Base$ = Base$; 119 exports.Base$ = Base$;
120 exports.Base = Base; 120 exports.Base = Base;
121 exports.Foo = Foo; 121 exports.Foo = Foo;
122 })(cascade, core); 122 })(cascade, core);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698