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

Side by Side Diff: test/codegen/expect/cascade.js

Issue 1148333003: No dynamic at runtime (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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 var cascade = dart.defineLibrary(cascade, {});
2 var core = dart.import(core); 2 var core = 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() {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 super.Base(); 97 super.Base();
98 } 98 }
99 test_final_field_generic(t) { 99 test_final_field_generic(t) {
100 this.x[core.$add](1); 100 this.x[core.$add](1);
101 this.x[core.$add](2); 101 this.x[core.$add](2);
102 this.x[core.$add](3); 102 this.x[core.$add](3);
103 this.x[core.$add](4); 103 this.x[core.$add](4);
104 } 104 }
105 } 105 }
106 dart.setSignature(Foo, { 106 dart.setSignature(Foo, {
107 methods: () => ({test_final_field_generic: dart.functionType(dart.void, [dar t.dynamic])}) 107 methods: () => ({test_final_field_generic: dart.functionType(dart.void, [cor e.Object])})
108 }); 108 });
109 // Exports: 109 // Exports:
110 exports.A = A; 110 exports.A = A;
111 exports.test_closure_with_mutate = test_closure_with_mutate; 111 exports.test_closure_with_mutate = test_closure_with_mutate;
112 exports.test_closure_without_mutate = test_closure_without_mutate; 112 exports.test_closure_without_mutate = test_closure_without_mutate;
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