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

Simplify replace placeholder #1

Open
wants to merge 20 commits into
base: flatMap-forComprehension-switch
Choose a base branch
from

Conversation

tgodzik
Copy link

@tgodzik tgodzik commented Jun 7, 2022

No description provided.

// case class YieldExpression(expression: EnumerationValue)
private def replacePlaceHolder(tree: Term, newName: Term.Name): Term =
tree match {
case Term.Apply(fun, args) =>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should only probably allow this once, so that we don't go to any further applies.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@zmerr zmerr force-pushed the flatMap-forComprehension-switch branch from 65b290b to 12e9c7c Compare June 9, 2022 16:56
@zmerr zmerr force-pushed the flatMap-forComprehension-switch branch 2 times, most recently from 6dc2b8b to 1792264 Compare June 17, 2022 09:48
@tgodzik tgodzik force-pushed the flatMap-forComprehension-switch branch 2 times, most recently from 055b64a to 316c5bf Compare June 20, 2022 17:41
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.

2 participants