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

Don't error for misplaced braces for 'else' if there are no braces #1866

Merged
merged 1 commit into from
Dec 17, 2016

Conversation

andy-hanson
Copy link
Contributor

Fixes #400.

PR checklist

What changes did you make?

Stop one-line from reporting an error for else when there are no braces.

@nchen63 nchen63 merged commit 2a9f3d7 into palantir:master Dec 17, 2016
@nchen63
Copy link
Contributor

nchen63 commented Dec 17, 2016

@andy-hanson thanks!

@andy-hanson andy-hanson deleted the one_line_no_braces branch January 8, 2017 20:34
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.

Single-line if with no braces and "check-else"
2 participants