[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:
committed by
Space Team
parent
be8d9ba262
commit
62d0060f0d
+1
-1
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user