FIR LC: do not ignore useSite target for getting deprecation status
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ internal fun isHiddenByDeprecation(
|
||||
annotationUseSiteTarget: AnnotationUseSiteTarget? = null
|
||||
): Boolean {
|
||||
return project.analyzeWithSymbolAsContext(symbol) {
|
||||
symbol.deprecationStatus?.level == DeprecationLevelValue.HIDDEN
|
||||
symbol.getDeprecationStatus(annotationUseSiteTarget)?.level == DeprecationLevelValue.HIDDEN
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user