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

Side by Side Diff: tests/compiler/dart2js/cps_ir/expected/constructor_9.js

Issue 1584543002: dart2js cps: Support inlining constructors with type arguments. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update status files and unit tests Created 4 years, 11 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 // Expectation for test: 1 // Expectation for test:
2 // // Method to test: generative_constructor(C#)
3 // class C<T> { 2 // class C<T> {
4 // C() { print(T); } 3 // C() { print(T); }
5 // foo() => print(T); 4 // foo() => print(T);
6 // } 5 // }
7 // main() { 6 // main() {
8 // new C<int>(); 7 // new C<int>();
9 // } 8 // }
10 9
11 function($T) { 10 function() {
12 var v0 = H.setRuntimeTypeInfo(new V.C(), [$T]); 11 H.setRuntimeTypeInfo(new V.C(), [P.$int]).C$0();
13 v0.C$0();
14 return v0;
15 } 12 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cps_ir/expected/constructor_14.js ('k') | tests/compiler/dart2js/cps_ir/input/constructor_10.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698