-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P4area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-pkg-metaIssues related to package:metaIssues related to package:metatype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
When a @protected method (such as State.dispose) is overridden, it loses its "protected" status unless the annotation is re-applied.
This has resulted in some less-than-ideal Flutter autofill suggestions:
Proposal
Maybe the @reopen annotation's usage could be expanded to cover class fields as well: restrictive annotations like @protected would apply to any subtype's overridden fields by default, unless the field is "re-opened".
(Would an analyzer change like this one count as "breaking"?)
FMorschel and tenhobi
Metadata
Metadata
Assignees
Labels
P4area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-pkg-metaIssues related to package:metaIssues related to package:metatype-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
