[wildcards] Consider reporting UNUSED_CATCH_STACK
for stack wildcard params
#55738
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
devexp-quick-fix
Issues with analysis server (quick) fixes
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: