Skip to content

Regression test for #16224 #18067

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 2 commits into from
Jun 27, 2023
Merged

Regression test for #16224 #18067

merged 2 commits into from
Jun 27, 2023

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jun 26, 2023

Fixes #16224

@odersky odersky requested a review from yawen-guan June 26, 2023 20:34
Pickling tests only work if the program is consistently compiled
with capture checking on or off. A language import alone will not
do it, since that will be visible when pickling but not when unpickling.

The reason is that pickler test does not scan for language imports, i.e.
it does not call CompilationUnit.force.
@odersky odersky merged commit 484be60 into scala:main Jun 27, 2023
@odersky odersky deleted the fix-16224 branch June 27, 2023 15:51
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.

Overload resolution bug when -Ycc is enabled.
2 participants