-
Notifications
You must be signed in to change notification settings - Fork 56
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
Fix heredoc within parens formatting causing subsequent syntax error #116
Conversation
@gingermusketeer @splattael @danielma Any input on this PR guys? This is a fix for a reported bug that leaves code broken so I think it should be considered. I will probably focus on fixing bugs on the new formatter moving forward - but I think it was important to fix these breaking bugs on current formatter. Style issues on current formatter are less urgent than getting new formatter production (beta) ready. Also, Ripper changes need to be followed up to ensure we know what is coming around the corner 😄 |
CHANGELOG.md
Outdated
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. | |||
## [Unreleased] | |||
|
|||
### Fixed | |||
- Fix `quote_style` Bug: Rufo breaks HEREDOC syntax. (issue [#88](https://github.com/ruby-formatter/rufo/issues/88)). This fixes heredoc within parens formatting causing bad formatting and subsequent syntax error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this change have to do with quote_style
? Was the bug introduced by the change that added it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops ~ I thought quote_style
was some fancy markdown formatting that was being used in the changelog (cut-paste error) 😊 I'll fix that
@mjago Getting this sorted is great. Nice for folks to be able to use this soon! Perhaps we should do a release after this is merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💚
@splattael do you wanna do a release? |
@mjago All your changes have been released with v0.4.0 :) |
Fix for issue #88