You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics.
lockbot
locked as resolved and limited conversation to collaborators
Jun 20, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behavior
When detekt is configured like this:
This kind of
when
should be treated as "single when expression" and ignoredCurrent Behavior
Currently the code above will report a
ComplexMethod
rule failure, because it ignores only "non-expression "when's", likeIf you are OK with the proposed change I could create a PR.
The text was updated successfully, but these errors were encountered: