[FIR] KT-54410: Report API_NOT_AVAILABLE for classifiers
Callable symbols with SinceKotlin are filtered out by a resolution stage, but in K1 classifiers and property accessors report API_NOT_AVAILABLE. K2 filters out properties with unavailable accessors, but does nothing for classifiers. This change fixes it. ^KT-54410 Fixed
This commit is contained in:
committed by
Space Team
parent
fd52cc4224
commit
9be819087a
+2
@@ -14,6 +14,8 @@ enum class CandidateApplicability {
|
||||
|
||||
/**
|
||||
* Candidate is removed from resolve due to SinceKotlin with later version or Deprecation with hidden level.
|
||||
* Note that SinceKotlin does not filter out classifier symbols and property accessors. Those
|
||||
* should lead to API_NOT_AVAILABLE.
|
||||
* Provokes UNRESOLVED_REFERENCE.
|
||||
*/
|
||||
HIDDEN,
|
||||
|
||||
Reference in New Issue
Block a user