Hint: For Loop var should not be field #16660
Labels
analyzer-linter
Issues with the analyzer's support for the linter package
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 kbeck...@gmail.com
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The code works as programmed. It however is questionable whether any reasonable developer would ever want to write such code. It is more likely that this may happen by accident. It should produce an error, unless I am missing some really important use-case.
This becomes even more annoying when it is used in for example a polymer element where you are not directly seeing id in your code..
What version of the product are you using? On what operating system?
Dart Editor version 1.2.0.dev_03_02 (DEV)
Dart SDK version 1.2.0-dev.3.2
The text was updated successfully, but these errors were encountered: