IR: capture more type parameters for local functions.
Types of value parameters and captured variables, even unused, need to be considered.
This commit is contained in:
Generated
+10
@@ -318,6 +318,11 @@ public class CompileJavaAgainstKotlinTestGenerated extends AbstractCompileJavaAg
|
||||
runTest("compiler/testData/compileJavaAgainstKotlin/method/TypeParamInInner.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeParamInInner2.kt")
|
||||
public void testTypeParamInInner2() throws Exception {
|
||||
runTest("compiler/testData/compileJavaAgainstKotlin/method/TypeParamInInner2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
runTest("compiler/testData/compileJavaAgainstKotlin/method/Vararg.kt");
|
||||
@@ -966,6 +971,11 @@ public class CompileJavaAgainstKotlinTestGenerated extends AbstractCompileJavaAg
|
||||
runTest("compiler/testData/compileJavaAgainstKotlin/method/TypeParamInInner.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeParamInInner2.kt")
|
||||
public void testTypeParamInInner2() throws Exception {
|
||||
runTest("compiler/testData/compileJavaAgainstKotlin/method/TypeParamInInner2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
runTest("compiler/testData/compileJavaAgainstKotlin/method/Vararg.kt");
|
||||
|
||||
Generated
+5
@@ -316,6 +316,11 @@ public class IrCompileJavaAgainstKotlinTestGenerated extends AbstractIrCompileJa
|
||||
runTest("compiler/testData/compileJavaAgainstKotlin/method/TypeParamInInner.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("TypeParamInInner2.kt")
|
||||
public void testTypeParamInInner2() throws Exception {
|
||||
runTest("compiler/testData/compileJavaAgainstKotlin/method/TypeParamInInner2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("Vararg.kt")
|
||||
public void testVararg() throws Exception {
|
||||
runTest("compiler/testData/compileJavaAgainstKotlin/method/Vararg.kt");
|
||||
|
||||
Reference in New Issue
Block a user