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

Router bugfix: find the correct lambda right arrow #1719

Merged
merged 1 commit into from
Feb 17, 2020

Conversation

kitbellew
Copy link
Collaborator

When lambda parameters are themselves functions and contained arrows in their type definitions, the code would locate the wrong arrow and then fail to break after it as no such break is defined in any rules.

Fixes #1714.

When lambda parameters are themselves functions and contained arrows in
their type definitions, the code would locate the wrong arrow and then
fail to break after it as no such break is defined in any rules.

Fixes scalameta#1714.
@kitbellew kitbellew merged commit 2f3e215 into scalameta:master Feb 17, 2020
@kitbellew kitbellew deleted the 1719 branch February 17, 2020 21:16
kitbellew added a commit to kitbellew/scalafmt that referenced this pull request Feb 18, 2020
kitbellew added a commit to kitbellew/scalafmt that referenced this pull request Feb 18, 2020
kitbellew added a commit to kitbellew/scalafmt that referenced this pull request Feb 19, 2020
kitbellew added a commit to kitbellew/scalafmt that referenced this pull request Feb 19, 2020
kitbellew added a commit to kitbellew/scalafmt that referenced this pull request Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cats-effect: Unable to format file due to bug in scalafmt
2 participants