Flag unintended field over field overrides #28810

Open
kasperl opened this Issue Feb 17, 2017 · 2 comments

Projects

None yet

2 participants

@kasperl
Contributor
kasperl commented Feb 17, 2017

There are concerns about the usability of field over field overrides. It seems too easy to accidentally hide fields and in most cases field over field overrides are unintended.

Three options have been discussed:

  • Make it a static error or a warning to override a field with a field.
  • Introduce a lint rule that flags all field over field overrides.
  • Use existing overridden_fields lint rule to flag field over field overrides that are not marked with @override.
@zoechi
Contributor
zoechi commented Feb 17, 2017 edited

Sounds like #28117, #28601, #28589, #28119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment