No static warning if class declares static method and has setter with the same name #23749
Labels
analyzer-spec
Issues with the analyzer's implementation of the language spec
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-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Dart specification (v3.0, June 2015) reads (10.7 Static methods):
"It is a static warning if a class C declares a static method named n and has a setter named n ="
In fact no warning produced. The code is the following.
Dart analyzer shows "No issues found" for this code. dartanalyzer version 1.11.0-edge.45833
The text was updated successfully, but these errors were encountered: