PSI2IR: support SAM conversion to substituted types
i.e. in arguments to `f(T x)` where `T` is a type parameter bound to a SAM type.
This commit is contained in:
+5
@@ -15803,6 +15803,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/javaInterop/protectedField.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("samTypeParameter.kt")
|
||||
public void testSamTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/javaInterop/samTypeParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("samUnboundTypeParameter.kt")
|
||||
public void testSamUnboundTypeParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/javaInterop/samUnboundTypeParameter.kt");
|
||||
|
||||
Reference in New Issue
Block a user