Skip to content

Conversation

kasiaMarek
Copy link
Member

resolves: #16110
resolves: scalameta/metals#7594

@kasiaMarek kasiaMarek requested a review from tgodzik September 11, 2025 07:32
@@ -1964,7 +1964,6 @@ object desugar {
ValDef(param.name, param.tpt, selector(idx))
.withSpan(param.span)
.withAttachment(UntupledParam, ())
.withFlags(Synthetic)
Copy link
Contributor

Choose a reason for hiding this comment

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

@jchyb could this cause any issue for coverage? I think we were discussing that with @kasiaMarek

Copy link
Contributor

@jchyb jchyb Sep 12, 2025

Choose a reason for hiding this comment

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

I don't think it will make any difference. We recently removed filtering out Synthetic calls for methods (they caused issues for case classes, where most used methods are synthetic), but I don't think anything like that has existed for vals (I suspect we will just get more coverage tags than necessary, but we don't necessarily need the Synthetic flag to be there to be able to fix that).

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

Looks good then, thanks! Do you want to check something more before merging?

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.

No hover information for untupled function parameters Untupled parameters marked as synthetic
3 participants