Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Also adding curly braces to expressions other than conditional statements #286

Closed
lorenzwalthert opened this issue Nov 19, 2017 · 0 comments · Fixed by #492

Comments

@lorenzwalthert
Copy link
Collaborator

commented Nov 19, 2017

Since we change

if (TRUE)
  return(call(a))

Into

if (TRUE) {
  return(call(a))
}

We should probably also change

while (FALSE)
  xyz(v)

Into

while (FALSE) {
  xyz(v)
}

Reference: #279 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.