-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
selectDynamic not encodes given name #18612
Comments
FYI: |
Thank you! So is it a bug, if there is a thing for encoding names? |
Seems like a bug not to work with the decoded name. But should it also work with the encoded name? |
This issue was picked for the Issue Spree No. 39 of November 14th, 2023 which takes place in 7 days. @hamzaremmal, @AnotherMedo, @KuceraMartin will be working on it. If you have any insight into the issue or guidance on how to fix it, please leave it here. |
Compiler version
3.3.0
Minimized code
This one is not working:
x.selectDynamic("+")
But this one works:
x.selectDynamic("$plus")
Expectation
This one works
x.selectDynamic("+")
Also I wonder is there a way of encoding given name by hand?
As I understood this blocks
scalamock
migration to Scala 3, sinceMethodSymbol#name
returned encoded name, whileSymbol#name
gives raw name, so I can't use reflection to get a field, I need to encode it somehow.The text was updated successfully, but these errors were encountered: