This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
[BUG] avoid-unused-parameter: false positive for switch expressions #1242
Labels
type: bug
Something isn't working
Environment and configuration
DCM version: 5.7.4
Dart SDK version: 3.0.0
Configuration
What did you do?
What did you expect to happen?
no lint, code doesn't have unused paramters
What actually happened?
running
flutter pub run dart_code_metrics:metrics analyze lib
won't actually output this issue- I've noticed that sometimes issues I see in my Editor (emacs), reported from the dart analyzer as lsp server with the dcm plugin, aren't output when using pub run and also are only shown after the dartanalyzer has been running for some time. I'm not sure whether this is a known problem, but it's something I've not had the time to look into more closely.But from my IDE's list of issues:
this is the line with the
switch(this)
expression, where "this" is underlined.Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: