[FIR] Remove the TODO from FirExplicitBackingFieldForbiddenChecker
Looks obsolete, nothing seems to fail.
This commit is contained in:
committed by
Space Team
parent
b46d4e5399
commit
ed2f0c295b
-10
@@ -25,16 +25,6 @@ object FirExplicitBackingFieldForbiddenChecker : FirBackingFieldChecker() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Sometimes status is not resolved.
|
|
||||||
// See: recursiveContractCustomContractFunction.fir.kt#L31
|
|
||||||
|
|
||||||
@OptIn(SymbolInternals::class)
|
|
||||||
val status = declaration.propertySymbol.fir.status
|
|
||||||
|
|
||||||
if (status !is FirResolvedDeclarationStatus) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if (declaration.propertySymbol.isAbstract) {
|
if (declaration.propertySymbol.isAbstract) {
|
||||||
reporter.reportOn(declaration.source, getProperDiagnostic(context), context)
|
reporter.reportOn(declaration.source, getProperDiagnostic(context), context)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user