[wildcards] Consider reporting UNUSED_CATCH_STACK
for stack wildcard params
#55738
Labels
analyzer-quick-fix
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
type-question
A question about expected behavior or functionality
Follow-up from: #55721 (comment), It'd be nice to have a fix (or at least assist) that removes the unnecessary stack catch in code like:
producing:
@bwilkerson: if this is a fix, I guess we'd want a diagnostic for what's essentially dead code?
The text was updated successfully, but these errors were encountered: