-
Notifications
You must be signed in to change notification settings - Fork 37
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
Tag generation fails for Scala Array #474
Comments
I have a strong feeling that we've already reported that as a bug in dotty. |
/bounty $250 |
💎 $250 bounty • ZIOSteps to solve:
Thank you for contributing to zio/izumi-reflect! |
@jdegoes I've reported the issue to the compiler team, this is up to them to resolve. So, I think the bounty should be removed from this issue. |
or, the bounty should be doubled if the fix is upstream! because a. the solution is harder and b. it is more valuable because it benefits more people. plus c. if the compiler team doesn't need to supply the fix, they are free to pursue other work. |
Anyway, the bounty shouldn't be here, this issue cannot be solved on i-r level, this is a bug in the compiler. |
Looks like the Array type parameter is lost somewhere before that Array type is applied to the |
Scala version: 3.4.2
Izumi reflect version: 2.3.8 (transitively from zio-mock)
Writing a ZIO Mock using the Scala Array type makes the compiler crash with:
Compiler output
The error comes from the makeTag Macro.
Here is a demo: https://scastie.scala-lang.org/ugTtSPC9STqinqMGS1nieQ
The text was updated successfully, but these errors were encountered: