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

Extract focuses from nested Inlined trees when determining modification path in Scala 3 macro #181

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

KacperFKorban
Copy link
Collaborator

closes #159

modification path in Scala 3 macro

closes #159
@KacperFKorban KacperFKorban marked this pull request as ready for review July 17, 2023 11:07
@KacperFKorban KacperFKorban requested a review from adamw July 17, 2023 11:08
@adamw
Copy link
Member

adamw commented Jul 17, 2023

Nice! Thanks :)

@adamw adamw merged commit 9bd5ed2 into master Jul 17, 2023
@mergify mergify bot deleted the fix-i159 branch July 17, 2023 17:57
case Block(List(DefDef(_, _, _, Some(p))), _) =>
p
case _ =>
println(tree)
Copy link
Contributor

Choose a reason for hiding this comment

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

Leftover?

Copy link
Member

Choose a reason for hiding this comment

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

indeed, missed that - fixing in #182

Copy link
Member

Choose a reason for hiding this comment

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

thanks :)

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.

How can I create a custom method with path?
3 participants