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

Support quoted PolyFunction #14222

Merged
merged 1 commit into from
Jan 6, 2022
Merged

Support quoted PolyFunction #14222

merged 1 commit into from
Jan 6, 2022

Conversation

nicolasstucki
Copy link
Contributor

Fixes #14180

@nicolasstucki nicolasstucki self-assigned this Jan 6, 2022
@nicolasstucki nicolasstucki marked this pull request as ready for review January 6, 2022 10:21
@@ -91,11 +91,6 @@ object PickledQuotes {
val quotedType = typeHole(idx, reifiedArgs)
PickledQuotes.quotedTypeToTree(quotedType)
}
case tree: Select =>
// Retain selected members
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to see a bug fixed by deleting code, but I don't really understand what this code was there for in the first place 😅. What does retaining means here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not remember exactly. There was an issue where the selects lost their symbol and this was a workaround. We must have fixed the actual source of the issue in the meantime.

@smarter smarter merged commit 0b4c6e7 into scala:master Jan 6, 2022
@smarter smarter deleted the fix-#14180 branch January 6, 2022 16:53
@Kordyjan Kordyjan added this to the 3.1.2 milestone Aug 2, 2023
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.

FatalError on PolyFunction in macro
3 participants