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

Revert "Add reflect defn.FunctionClass overloads" #18473

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

Kordyjan
Copy link
Contributor

Reverts #16849 on the LTS line.

Introducing new experimental overload with fewer arguments is breaking source compatibility.

Fixes #18414

@Kordyjan Kordyjan added this to the 3.4.0 milestone Aug 29, 2023
@Kordyjan Kordyjan mentioned this pull request Aug 29, 2023
14 tasks
@@ -2811,10 +2811,6 @@ class QuotesImpl private (using val ctx: Context) extends Quotes, QuoteUnpickler
if isErased then
throw new Exception("Erased function classes are not supported. Use a refined `scala.runtime.ErasedFunction`")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
throw new Exception("Erased function classes are not supported. Use a refined `scala.runtime.ErasedFunction`")
throw new Exception("Erased function classes are not supported anymore.")

They should not be using this in 3.3 at all.

@Kordyjan Kordyjan merged commit eaa7e18 into scala:release-3.3.1 Aug 29, 2023
16 checks passed
@Kordyjan Kordyjan deleted the revert-16849 branch August 29, 2023 15:39
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.

4 participants