-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
ClassCastException while executing macro expansion on Scala3 #836
Comments
Just run "sbt compile"
Just run "sbt compile"
@cchantep and/or @xuwei-k it looks like you worked most on the Scala 3 I uploaded a quick reproducer, you just need to run I can take a look myself also, but if you have time before me that would help, thanks! |
I've just hit this one. I originally thought this might be a scala lib/compiler issue, so tested it with 3.3.2-RC and 3.4.0-RC. Still happening for both. |
Do not nest |
(cherry picked from commit 1b2c379)
Thank you for your fixing |
Play JSON Version (2.5.x / etc)
2.10.0-RC7
API (Scala / Java / Neither / Both)
Scala 3 (3.2.1)
Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10)
Mac OS 12.6.2
JDK (Oracle 1.8.0_72, OpenJDK 1.8.x, Azul Zing)
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
Library Dependencies
Nothing
Expected Behavior
Possible to compile this code on Scala 3.
Actual Behavior
ClassCastException on Scala 3. (No problem on Scala 2)
Reproducible Test Case
above
The text was updated successfully, but these errors were encountered: