The editor should warn if a lexical identifier is taking precedence over an inherited one #12078
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.
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
This issue was originally filed by Erik.Gr...@gmail.com
http://www.dartlang.org/docs/spec/latest/dart-language-specification.html
Issue/feedback:
The interaction of lexical scoping and inheritance can be pretty surprising and well, nasty. It's also burdensome to have to review the top level functions of every library you import to see if it happens to contain a definition that will overwrite one you have somewhere in your inheritance hierarchy. The section in the language spec on scoping and inheritance suggests warning users when this occurs.
The text was updated successfully, but these errors were encountered: