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

Cannot resolve valueOf from scala.Predef #414

Closed
adpi2 opened this issue Dec 4, 2023 · 0 comments
Closed

Cannot resolve valueOf from scala.Predef #414

adpi2 opened this issue Dec 4, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@adpi2
Copy link
Member

adpi2 commented Dec 4, 2023

inline def valueOf[T]: T has been added in Scala 3 so it cannot be found from the Scala 2 scala.Predef$ class file.

tastyquery.Exceptions$MemberNotFoundException: Member valueOf[with sig (1):java.lang.Object @valueOf] not found in TermRef(PackageRef(scala), symbol[object scala.Predef])
@sjrd sjrd self-assigned this Dec 5, 2023
sjrd added a commit to sjrd/tasty-query that referenced this issue Dec 5, 2023
@sjrd sjrd added the bug Something isn't working label Dec 5, 2023
sjrd added a commit to sjrd/tasty-query that referenced this issue Dec 5, 2023
@sjrd sjrd closed this as completed in 07f59a3 Dec 6, 2023
sjrd added a commit that referenced this issue Dec 6, 2023
Fix #414: Define the rest of the special Predef methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants