[FIR] Remove the TODO in FirDelegatedPropertyChecker

This TODO is unclear, and since we don't
really care what should happen to the
unreachable code, it can be ignored.
This commit is contained in:
Nikolay Lunyak
2023-06-27 15:45:19 +03:00
committed by Space Team
parent be8d9ba262
commit 62d0060f0d
@@ -150,7 +150,7 @@ internal fun checkPropertyInitializer(
) {
if (property.receiverParameter != null && !property.hasAnyAccessorImplementation) {
reporter.reportOn(propertySource, FirErrors.EXTENSION_PROPERTY_MUST_HAVE_ACCESSORS_OR_BE_ABSTRACT, context)
} else if (reachable) { // TODO: can be suppressed not to report diagnostics about no body
} else if (reachable) {
reportMustBeInitialized(property, isDefinitelyAssignedInConstructor, containingClass, propertySource, reporter, context)
}
}