Properly reference type parameter descriptors

'descriptor -> descriptor.original' relation is often inconsistent
wrt 'containingDeclaration', parameters, and type parameters,
we have to introduce some workarounds here.
This commit is contained in:
Dmitry Petrov
2019-12-24 14:51:11 +03:00
parent f8fd5092c6
commit a8e9a6a1d0
9 changed files with 83 additions and 5 deletions
@@ -14470,6 +14470,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
public void testInvariantArgumentsNoWildcard() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/generics/invariantArgumentsNoWildcard.kt");
}
@TestMetadata("javaNestedSamInterface.kt")
public void testJavaNestedSamInterface() throws Exception {
runTest("compiler/testData/codegen/box/javaInterop/generics/javaNestedSamInterface.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/javaInterop/notNullAssertions")