Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

bugfix: Backticked named arguments #18704

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Conversation

jkciesluk
Copy link
Contributor

connected to scalameta/metals#5725

@@ -200,6 +200,13 @@ abstract class PcCollector[T](
val realName = arg.name.stripModuleClassSuffix.lastPart
if pos.span.start > arg.span.start && pos.span.end < arg.span.point + realName.length
then
val realName = arg.name.stripModuleClassSuffix.lastPart
Copy link
Contributor

Choose a reason for hiding this comment

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

This line is not necessary

Suggested change
val realName = arg.name.stripModuleClassSuffix.lastPart

@jkciesluk jkciesluk merged commit d652c3e into scala:main Oct 23, 2023
18 checks passed
@jkciesluk jkciesluk deleted the named-arg-backtick branch October 23, 2023 11:40
@rochala rochala added the area:presentation-compiler Related to the presentation compiler module used by Metals and possibly other tools label Oct 30, 2023
@Kordyjan Kordyjan added this to the 3.4.0 milestone Dec 20, 2023
WojciechMazur added a commit that referenced this pull request Jun 23, 2024
Backports #18704 to the LTS branch.

PR submitted by the release tooling.
[skip ci]
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area:presentation-compiler Related to the presentation compiler module used by Metals and possibly other tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants