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

Side by Side Diff: tests/compiler/dart2js/cps_ir/input/constructor_10.dart

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 // Method to test: generative_constructor(C#)
2 class C<T> { 1 class C<T> {
3 var x; 2 var x;
4 C() : x = new D<T>(); 3 C() : x = new D<T>();
5 } 4 }
6 class D<T> { 5 class D<T> {
7 foo() => T; 6 foo() => T;
8 } 7 }
9 main() { 8 main() {
10 print(new C<int>().x.foo()); 9 print(new C<int>().x.foo());
11 } 10 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/cps_ir/expected/constructor_9.js ('k') | tests/compiler/dart2js/cps_ir/input/constructor_9.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698