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

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

Issue 1122883002: Do not suppress implicit constructors that need a super call. (Closed) Base URL: https://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
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | test/codegen/expect/covariance.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; 1 var cascade;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 class A extends core.Object { 4 class A extends core.Object {
5 A() { 5 A() {
6 this.x = null; 6 this.x = null;
7 } 7 }
8 } 8 }
9 // Function test_closure_with_mutate: () → void 9 // Function test_closure_with_mutate: () → void
10 function test_closure_with_mutate() { 10 function test_closure_with_mutate() {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 let Base$ = dart.generic(function(T) { 85 let Base$ = dart.generic(function(T) {
86 class Base extends core.Object { 86 class Base extends core.Object {
87 Base() { 87 Base() {
88 this.x = dart.setType([], core.List$(T)); 88 this.x = dart.setType([], core.List$(T));
89 } 89 }
90 } 90 }
91 return Base; 91 return Base;
92 }); 92 });
93 let Base = Base$(); 93 let Base = Base$();
94 class Foo extends Base$(core.int) { 94 class Foo extends Base$(core.int) {
95 Foo() {
96 super.Base();
97 }
95 test_final_field_generic(t) { 98 test_final_field_generic(t) {
96 this.x[core.$add](1); 99 this.x[core.$add](1);
97 this.x[core.$add](2); 100 this.x[core.$add](2);
98 this.x[core.$add](3); 101 this.x[core.$add](3);
99 this.x[core.$add](4); 102 this.x[core.$add](4);
100 } 103 }
101 } 104 }
102 // Exports: 105 // Exports:
103 exports.A = A; 106 exports.A = A;
104 exports.test_closure_with_mutate = test_closure_with_mutate; 107 exports.test_closure_with_mutate = test_closure_with_mutate;
105 exports.test_closure_without_mutate = test_closure_without_mutate; 108 exports.test_closure_without_mutate = test_closure_without_mutate;
106 exports.test_mutate_inside_cascade = test_mutate_inside_cascade; 109 exports.test_mutate_inside_cascade = test_mutate_inside_cascade;
107 exports.test_mutate_outside_cascade = test_mutate_outside_cascade; 110 exports.test_mutate_outside_cascade = test_mutate_outside_cascade;
108 exports.test_VariableDeclaration_single = test_VariableDeclaration_single; 111 exports.test_VariableDeclaration_single = test_VariableDeclaration_single;
109 exports.test_VariableDeclaration_last = test_VariableDeclaration_last; 112 exports.test_VariableDeclaration_last = test_VariableDeclaration_last;
110 exports.test_VariableDeclaration_first = test_VariableDeclaration_first; 113 exports.test_VariableDeclaration_first = test_VariableDeclaration_first;
111 exports.test_increment = test_increment; 114 exports.test_increment = test_increment;
112 exports.Base$ = Base$; 115 exports.Base$ = Base$;
113 exports.Base = Base; 116 exports.Base = Base;
114 exports.Foo = Foo; 117 exports.Foo = Foo;
115 })(cascade || (cascade = {})); 118 })(cascade || (cascade = {}));
OLDNEW
« no previous file with comments | « lib/src/codegen/js_codegen.dart ('k') | test/codegen/expect/covariance.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698