Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

one-line: Check block in case clause #3619

Merged
merged 1 commit into from
Jul 28, 2018

Conversation

andy-hanson
Copy link
Contributor

PR checklist

  • Addresses an existing issue: #0000
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update

Overview of change:

This rule previously did not check the block in case 0: { ... } because isBlockLike returns true for CaseClauses.

CHANGELOG.md entry:

[bugfix] one-line: Check block in a case clause

@giladgray giladgray merged commit 629126f into palantir:master Jul 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants