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

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

Issue 1145283002: Use short array syntax in method signatures (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 dart.setSignature(A, {}); 10 dart.setSignature(A, {});
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 super.Base(); 99 super.Base();
100 } 100 }
101 test_final_field_generic(t) { 101 test_final_field_generic(t) {
102 this.x[core.$add](1); 102 this.x[core.$add](1);
103 this.x[core.$add](2); 103 this.x[core.$add](2);
104 this.x[core.$add](3); 104 this.x[core.$add](3);
105 this.x[core.$add](4); 105 this.x[core.$add](4);
106 } 106 }
107 } 107 }
108 dart.setSignature(Foo, { 108 dart.setSignature(Foo, {
109 methods: () => ({test_final_field_generic: dart.functionType(dart.void, [dar t.dynamic])}) 109 methods: () => ({test_final_field_generic: [dart.void, [dart.dynamic]]})
110 }); 110 });
111 // Exports: 111 // Exports:
112 exports.A = A; 112 exports.A = A;
113 exports.test_closure_with_mutate = test_closure_with_mutate; 113 exports.test_closure_with_mutate = test_closure_with_mutate;
114 exports.test_closure_without_mutate = test_closure_without_mutate; 114 exports.test_closure_without_mutate = test_closure_without_mutate;
115 exports.test_mutate_inside_cascade = test_mutate_inside_cascade; 115 exports.test_mutate_inside_cascade = test_mutate_inside_cascade;
116 exports.test_mutate_outside_cascade = test_mutate_outside_cascade; 116 exports.test_mutate_outside_cascade = test_mutate_outside_cascade;
117 exports.test_VariableDeclaration_single = test_VariableDeclaration_single; 117 exports.test_VariableDeclaration_single = test_VariableDeclaration_single;
118 exports.test_VariableDeclaration_last = test_VariableDeclaration_last; 118 exports.test_VariableDeclaration_last = test_VariableDeclaration_last;
119 exports.test_VariableDeclaration_first = test_VariableDeclaration_first; 119 exports.test_VariableDeclaration_first = test_VariableDeclaration_first;
120 exports.test_increment = test_increment; 120 exports.test_increment = test_increment;
121 exports.Base$ = Base$; 121 exports.Base$ = Base$;
122 exports.Base = Base; 122 exports.Base = Base;
123 exports.Foo = Foo; 123 exports.Foo = Foo;
124 })(cascade, core); 124 })(cascade, core);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698