Flag unintended field over field overrides #28810

kasperl opened this Issue Feb 17, 2017 · 2 comments


None yet

2 participants

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 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