FIR: postpone callable reference candidate in default argument case
#KT-53019 Fixed
This commit is contained in:
+12
@@ -17721,6 +17721,18 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/fir/callableReferenceToStaticFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("cannotCastToFunction.kt")
|
||||
public void testCannotCastToFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/cannotCastToFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("cannotCastToFunctionInIf.kt")
|
||||
public void testCannotCastToFunctionInIf() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fir/cannotCastToFunctionInIf.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ClassBuilder.kt")
|
||||
public void testClassBuilder() throws Exception {
|
||||
|
||||
Generated
+6
@@ -2494,6 +2494,12 @@ public class IrTextTestGenerated extends AbstractIrTextTest {
|
||||
runTest("compiler/testData/ir/irText/firProblems/candidateSymbol.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("cannotCastToFunction.kt")
|
||||
public void testCannotCastToFunction() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/firProblems/cannotCastToFunction.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("ClashResolutionDescriptor.kt")
|
||||
public void testClashResolutionDescriptor() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user