[FIR] Remove the TODO from ConeTypeCompatibilityChecker

Ignore, because `@JvmDefault` is deprecated
and we don’t even have tests for it, and
the new
``@JvmDefaultWith[out]Compatibility` only
allow classes as their targets
This commit is contained in:
Nikolay Lunyak
2023-06-27 17:31:28 +03:00
committed by Space Team
parent c2c073ab2d
commit 553f400c25
@@ -17,7 +17,6 @@ fun <D> FirBasedSymbol<out D>.isCompiledToJvmDefault(
session: FirSession,
jvmDefaultMode: JvmDefaultMode?
): Boolean where D : FirAnnotationContainer, D : FirDeclaration {
// TODO: Fix support for all cases
if (getAnnotationByClassId(StandardClassIds.Annotations.JvmDefault, session) != null) return true
// jvmDefaultMode is null only on common metadata compilation