| Index: tests/compiler/dart2js/js_backend_cps_ir_runtime_types_test.dart
|
| diff --git a/tests/compiler/dart2js/js_backend_cps_ir_runtime_types_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_runtime_types_test.dart
|
| index 86f8260867b999bb00e7cb50fcdcf5102d4424ec..996579c2edcc38f3472a50dc35a17e913815689e 100644
|
| --- a/tests/compiler/dart2js/js_backend_cps_ir_runtime_types_test.dart
|
| +++ b/tests/compiler/dart2js/js_backend_cps_ir_runtime_types_test.dart
|
| @@ -43,6 +43,19 @@ main() {
|
| function() {
|
| return P.print($createType($typeToString($getSubstitutedTypeArgument(this, "\$asC", 1))));
|
| }"""),
|
| + const TestEntry.forMethod('function(C#foo)', r"""
|
| +class C<T> {
|
| + foo() => new D<C<T>>();
|
| +}
|
| +class D<T> {
|
| + bar() => T;
|
| +}
|
| +main() {
|
| + print(new C<int>().foo().bar());
|
| +}""", r"""
|
| +function() {
|
| + return V.D$([[V.C, H.getTypeArgumentByIndex(this, 0)]]);
|
| +}"""),
|
| ];
|
|
|
| void main() {
|
|
|