[FIR] Remove the redundant isFunctionType check

^KT-63865 fixed
This commit is contained in:
Nikita Nazarov
2023-12-01 11:38:55 +01:00
committed by Space Team
parent 3a77f39199
commit 1df318ff28
7 changed files with 46 additions and 1 deletions
@@ -5266,6 +5266,12 @@ public class DiagnosticCompilerTestFirTestdataTestGenerated extends AbstractDiag
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/backingField.kt");
}
@Test
@TestMetadata("castForFunctionsWithDifferentArities.kt")
public void testCastForFunctionsWithDifferentArities() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/castForFunctionsWithDifferentArities.kt");
}
@Test
@TestMetadata("classLiteralForParameter.kt")
public void testClassLiteralForParameter() throws Exception {
@@ -5266,6 +5266,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFirTestDataTestGenerated
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/backingField.kt");
}
@Test
@TestMetadata("castForFunctionsWithDifferentArities.kt")
public void testCastForFunctionsWithDifferentArities() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/castForFunctionsWithDifferentArities.kt");
}
@Test
@TestMetadata("classLiteralForParameter.kt")
public void testClassLiteralForParameter() throws Exception {