-
Notifications
You must be signed in to change notification settings - Fork 1.1k
transparent inline unapply method macros are executed twice #19369
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
Labels
Milestone
Comments
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jan 5, 2024
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jan 5, 2024
jchyb
added a commit
to dotty-staging/dotty
that referenced
this issue
Jan 5, 2024
This was referenced Jan 5, 2024
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jan 10, 2024
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jan 11, 2024
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Jan 18, 2024
odersky
added a commit
that referenced
this issue
Jan 30, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
3.3.1, 3.4.0-RC1-bin-20240103-94e960d-NIGHTLY
Minimized code
Main.scala
Macro.scala
Output
compilation output:
Expectation
The method should be executed only one time per call, like when using non-transparent inline unapply, or when using transparent inline macros on non-unapply methods.
The text was updated successfully, but these errors were encountered: