Skip to content

ForbidCheckedExceptionInYieldingMethod: skip closures handled by callable rule#349

Open
janedbal wants to merge 1 commit intomasterfrom
fix/yielding-rule-closure-overlap
Open

ForbidCheckedExceptionInYieldingMethod: skip closures handled by callable rule#349
janedbal wants to merge 1 commit intomasterfrom
fix/yielding-rule-closure-overlap

Conversation

@janedbal
Copy link
Member

Only report yielding closures that are @param-immediately-invoked-callable or directly invoked, since non-immediately-invoked and standalone closures are already covered by ForbidCheckedExceptionInCallableRule.

Closes #346

…able rule

Only report yielding closures that are @param-immediately-invoked-callable
or directly invoked, since non-immediately-invoked and standalone closures
are already covered by ForbidCheckedExceptionInCallableRule.
@zacharylund
Copy link

I tested this against my code base and it works. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

forbidCheckedExceptionInYieldingMethod/forbidCheckedExceptionInCallable overlap for closures

2 participants

Comments