Revert "[FIR] Remove the redundant isFunctionType check"

This reverts commit 1f97c268e1.
This commit is contained in:
Nikolay Krasko
2023-12-01 11:27:39 +01:00
parent 2b6845c032
commit 5e5e5b8b9f
8 changed files with 1 additions and 47 deletions
@@ -5266,12 +5266,6 @@ 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,12 +5266,6 @@ 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 {