-
Notifications
You must be signed in to change notification settings - Fork 76
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
sourcecode.Name does not capture back ticked macro
keyword in Scala3 (200USD Bounty)
#120
Comments
though nobody seems to care, fwiw, just reproduced this with Scala 3.1.3 and sourcecode 0.3.0
|
lihaoyi
changed the title
sourcecode.Name does not capture back ticked
sourcecode.Name does not capture back ticked May 14, 2024
macro
keyword in Scala3macro
keyword in Scala3 (200USD Bounty)
Hi, I'd like to take a crack at it |
@KacperFKorban go for it, no need to ask permission! |
lihaoyi
pushed a commit
that referenced
this issue
May 21, 2024
Change the synthetic check to use flags and exposed methods instead of names. #120
awesome. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Scastie: https://scastie.scala-lang.org/carueda/NIAVkP82Rd2RVusUXRZMGQ/13
In short, applying:
to back ticked
macro
:results in capturing something else, apparently the name of the enclosing environment, but not the val's name itself.
Other Scala keywords seem to be captured just fine.
Haoyi: To incentivize contribution, I'm putting a 200USD bounty on resolving this ticket. This is payable via bank transfer, and at my discretion in case of ambiguity. The acceptance criteria is a PR fixing this issue and updates to our test infrastructure to validate the fix
The text was updated successfully, but these errors were encountered: