Skip to content

Correct the Macros+inline example expansion #11551

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

Merged
merged 1 commit into from
Feb 27, 2021

Conversation

ivanopagano
Copy link
Contributor

In the whole macro+inline example, I have a feeling that the arr reference inside the spliced sum step during expansion, should be quoted.
sum accepts an Expr in the definition, but at call site arr is an Array.

Honestly I didn't check the generated docs locally. I didn't go thru the process of cloning and rebuilding everything.

In the whole macro+inline example, I have a feeling that the `arr` reference inside the spliced `sum` step during expansion, should be quoted.
`sum` accepts an Expr in the definition, but at call site `arr` is an Array.
@nicolasstucki nicolasstucki merged commit 07d9dd2 into scala:master Feb 27, 2021
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.

2 participants