[FIR] 2/2 Cleanup: drop no longer necessary FirActualCallableDeclarationChecker

It became possible to drop it after KT-62590. Now, on a frontend, the
return type check is part of a common AbstractExpectActualChecker logic

Change in nestedAnnotationClassViaActualTypealias.fir.kt aligns the
behaviour with K1. KT-61964

Review: https://jetbrains.team/p/kt/reviews/12750/timeline
This commit is contained in:
Nikita Bobko
2023-10-25 20:56:21 +02:00
committed by teamcity
parent a9583e4f9a
commit 75a0442b61
12 changed files with 26 additions and 130 deletions
@@ -6,7 +6,7 @@ Output:
Exit code: COMPILATION_ERROR
Output:
compiler/testData/multiplatform/incompatibleCallables/jvm.kt:1:12: error: 'actual fun f1(): String' has no corresponding expected declaration
The following declaration is incompatible:
The following declaration is incompatible because return type is different:
expect fun f1(): Unit
actual fun f1(): String = ""