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

Refine infoDependsOnPrefix #18204

Merged
merged 2 commits into from
Jul 14, 2023
Merged

Refine infoDependsOnPrefix #18204

merged 2 commits into from
Jul 14, 2023

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Jul 13, 2023

infoDependsOnPrefix now also considers non-final term members. Before 8d65f19 it only considered abstract types. Constructors were classified as non-final, which caused regressions. We now exclude constructors specifically in a separate
clause in infoDependsOnPrefix. Maybe we should instead classify them as effectively final.

Fixes #18160

odersky added 2 commits July 13, 2023 20:42
infoDependsOnPrefix now also considers non-final term members. Before
8d65f19 it only considered abstract types. Constructors were classified
as non-final, which caused regression. We now exclude constructors
specifically. Maybe we should instead classify them as effectively final.

Fixes scala#18160
This is mainly a cleanup.
@odersky odersky requested a review from smarter July 14, 2023 08:22
@odersky odersky assigned odersky and smarter and unassigned odersky Jul 14, 2023
@smarter smarter merged commit 3e45d0f into scala:main Jul 14, 2023
@smarter smarter deleted the fix-18160 branch July 14, 2023 09:56
@Kordyjan Kordyjan added this to the 3.4.0 milestone Aug 1, 2023
@Kordyjan Kordyjan added the backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" label Aug 16, 2023
@Kordyjan Kordyjan modified the milestones: 3.4.0, 3.3.1 Aug 16, 2023
@Kordyjan Kordyjan mentioned this pull request Aug 22, 2023
15 tasks
Kordyjan added a commit that referenced this pull request Aug 22, 2023
@Kordyjan Kordyjan added backport:done This PR was successfully backported. and removed backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" labels Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:done This PR was successfully backported.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression in rescala-lang/rescala
3 participants