Deprecated uses are reported in a few positions inside deprecated declarations #51664
Closed
4 of 5 tasks
Labels
analyzer-warning
Issues with the analyzer's Warning codes
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
A use of a
@deprecated
element is not supposed to be reported when the use site is itself "inside" a declaration of a deprecated element. For example, given a deprecated class C, and a deprecated class D which extends C, nodeprecated_member_use
warnings is reported at the identifierC
inD extends C
. This mechanism supports the ability to bulk deprecate a set of APIs or elements without many noisy deprecation warnings within the set.However, this mechanism has a few holes:
The text was updated successfully, but these errors were encountered: