-
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
-Xcheck-macros
does not handle correctly creating instance of local case class
#18911
Comments
-XcheckMacros
does not handle correctly creating instance of local class-Xcheck-macros
does not handle correctly creating instance of local case class
The commit-based bisect points to 61190e6 |
It seems like the checks in 61190e6 correctly find the inconsistent tree |
The macro has an undefined behaviour due to the use os We could try to patch this particular use case. |
Do not look under RHS of the `lazy val` of an object. Fixes #18911
Based on Open Community Build failure for tinkoff/phobos build logs due to usage of
scalatest/scalatest
macros of which macro implementation was minimized.Compiler version
Last good release: 3.3.1-RC1-bin-20230524-5262680-NIGHTLY
First bad release: 3.3.1-RC1-bin-20230525-2e19304-NIGHTLY
Commit-based bisect - WIP
Minimized code
Output
Macro stacktrace
Expectation
Should not couse error when compiling. Constructor of case class is public and used in the same, local scope.
The text was updated successfully, but these errors were encountered: