-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Regression macro between M3 and RC1 - transparent inline #11437
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
Comments
The error is with the missing If we fix the |
(I recommend you add monocle to the Scala 3 build so this sort of things can be caught early: https://github.com/lampepfl/dotty/blob/master/community-build/README.md) |
And as Nicolas said, your code snippet does not define |
Minimized transparent inline def foo = error
|
Thanks, I wasn't sure how to minimise it. Though I don't understand why it stopped working between M3 and RC1. @smarter Thanks for pointing out the community build, I will look at adding Monocle |
Are you sure it worked before? It looks like the problematic code was added only a few days ago and without tests: https://github.com/optics-dev/Monocle/pull/1063/files, so it may have just been (incorrectly) compiling. |
Apologies for the lack of clarity in the snippet, the |
Can you open an issue with the as method present that reproduces the problem? |
Compiler version
This is an error we encountered when migrating Monocle from Scala 3.0.0-M3 to 3.0.0-RC1.
Here is the link to the build: https://github.com/optics-dev/Monocle/runs/1917837206
Minimized code
Output
Expectation
The text was updated successfully, but these errors were encountered: