-
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
Staging code example raises compiler warning #19211
Labels
area:metaprogramming:quotes
Issues related to quotes and splices
Milestone
Comments
Is the right fix simply to change the documentation, as suggested here? Predef.getClass.getClassLoader |
Closed
Using Predef is the wrong fix. This would work given staging.Compiler =
object Dummy
staging.Compiler.make(Dummy.getClass.getClassLoader) |
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jan 12, 2024
This addresses part of scala#19211, scala#19170, and scala#19176
@nicolasstucki Your change to
Should I create pull requests to apply the change there? |
WojciechMazur
pushed a commit
that referenced
this issue
Jun 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
3.3.1
Minimized example
From the Scala 3 Reference
Compiler output
Expectation
Code examples from the Scala 3 Reference shouldn't raise compiler warnings.
The text was updated successfully, but these errors were encountered: