Skip to content

[Wildcard Variables] Update UNUSED_CATCH_STACK reporting #55721

@pq

Description

@pq

Like UNUSED_LOCAL_VARIABLEs, we'll want to flag binding __s in UNUSED_CATCH_STACK.

For example we do not report on the __ below

try {

} catch(e, __) { }

(but should).

/fyi @kallentu

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work ondevexp-warningIssues with the analyzer's Warning codesfeature-wildcard-variablesImplementation of the wildcard variables featurelegacy-area-analyzerUse area-devexp instead.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions