diff --git a/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/FirHelpers.kt b/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/FirHelpers.kt index 6b382e5cf09..ba05cce527d 100644 --- a/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/FirHelpers.kt +++ b/compiler/fir/checkers/src/org/jetbrains/kotlin/fir/analysis/checkers/FirHelpers.kt @@ -408,10 +408,6 @@ fun FirCallableSymbol<*>.getImplementationStatus( ) { return ImplementationStatus.INHERITED_OR_SYNTHESIZED } - // TODO, KT-59818: suspend function overridden by a Java class in the middle is not properly regarded as an override - if (isSuspend) { - return ImplementationStatus.INHERITED_OR_SYNTHESIZED - } } is FirFieldSymbol -> if (symbol.isJavaOrEnhancement) return ImplementationStatus.CANNOT_BE_IMPLEMENTED } diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendNotImplemented.fir.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendNotImplemented.fir.kt deleted file mode 100644 index 9aeff89bfb1..00000000000 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendNotImplemented.fir.kt +++ /dev/null @@ -1,7 +0,0 @@ -// ISSUE: KT-63233, KT-59818 - -interface A { - suspend fun foo() -} - -class B : A diff --git a/compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendNotImplemented.kt b/compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendNotImplemented.kt index f8813f8565f..0eb3050bea3 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendNotImplemented.kt +++ b/compiler/testData/diagnostics/testsWithStdLib/coroutines/suspendNotImplemented.kt @@ -1,3 +1,4 @@ +// FIR_IDENTICAL // ISSUE: KT-63233, KT-59818 interface A {