Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

NoSemicolonsRule: don't report semicolon for control flow with empty body #976

Merged
merged 3 commits into from
Nov 28, 2020

Conversation

t-kameyama
Copy link
Contributor

Fixes #955

// https://github.com/shyiko/ktlint/issues/281
return false
}
val parent = prevLeaf?.treeParent?.psi
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you also drop a comment, like the one above, which is referencing the issue (#955)?

@t-kameyama t-kameyama requested a review from romtsn November 22, 2020 23:42
@romtsn romtsn merged commit 4e1403e into pinterest:master Nov 28, 2020
@t-kameyama t-kameyama deleted the issue_955 branch November 28, 2020 22:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ParseException ("Expecting an expression") on a ControlFlowWithEmptyBody expression
2 participants