[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:
committed by
Space Team
parent
c2c073ab2d
commit
553f400c25
-1
@@ -17,7 +17,6 @@ fun <D> FirBasedSymbol<out D>.isCompiledToJvmDefault(
|
|||||||
session: FirSession,
|
session: FirSession,
|
||||||
jvmDefaultMode: JvmDefaultMode?
|
jvmDefaultMode: JvmDefaultMode?
|
||||||
): Boolean where D : FirAnnotationContainer, D : FirDeclaration {
|
): Boolean where D : FirAnnotationContainer, D : FirDeclaration {
|
||||||
// TODO: Fix support for all cases
|
|
||||||
if (getAnnotationByClassId(StandardClassIds.Annotations.JvmDefault, session) != null) return true
|
if (getAnnotationByClassId(StandardClassIds.Annotations.JvmDefault, session) != null) return true
|
||||||
|
|
||||||
// jvmDefaultMode is null only on common metadata compilation
|
// jvmDefaultMode is null only on common metadata compilation
|
||||||
|
|||||||
Reference in New Issue
Block a user