Setting of super.named parameter is recognized as unused or incorrect #59792
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
Snippet
What I want
I want to avoid
_B({b: true})
when I can set in constructor and to pass analyzer lintsProblem
B.b: is unused. (Okay. It looks like expected. But it has not hotfix by analyzer and I create hotfix as
_C
class)C.b: error:
'b' isn't a field in the enclosing class
.Version
Dart SDK version: 3.5.4 (stable) (Wed Oct 16 16:18:51 2024 +0000) on "macos_arm64"
The text was updated successfully, but these errors were encountered: