[FIR] Fix incompatible KClass<Any> and callable reference Collection::class, ^KT-51272 Fixed
This commit is contained in:
+6
@@ -2646,6 +2646,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/callableReferenceAssignmentToVar.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callableReferenceInWhenExpression.kt")
|
||||
public void testCallableReferenceInWhenExpression() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/callableReferenceInWhenExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callableReferenceWithMostSpecificGenericTypeParameter.kt")
|
||||
public void testCallableReferenceWithMostSpecificGenericTypeParameter() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user