Skip to content
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

Fix #18407: Ignore Quote/Slice in init checker #18848

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

liufengyun
Copy link
Contributor

Fix #18407: Ignore Quote/Slice in init checker

We should never be able to encounter them in usage of macros --- because macros will expand to normal trees without quote and splices.

The particular test case is actually problematic: The macro did not expand in base_0.scala.

We should never be able to encounter them in usage of macros ---
because macros will expand to normal trees without quote and splices.

The particular test case is actually problematic: The macro did not
expand in `base_0.scala`.
@sjrd sjrd merged commit 5623c1b into scala:main Nov 6, 2023
18 checks passed
@sjrd sjrd deleted the fix-i18407 branch November 6, 2023 07:56
@liufengyun
Copy link
Contributor Author

Thanks for reviewing @nicolasstucki .

Is it expected that the macro does not expand in base_0.scala?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regrssion in automorph-org/automorph + scalatest/scalatest
4 participants