Skip to content

[Semanticdb] Anonymous given names are show in occurences #11692

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

Closed
tgodzik opened this issue Mar 10, 2021 · 0 comments · Fixed by #11805
Closed

[Semanticdb] Anonymous given names are show in occurences #11692

tgodzik opened this issue Mar 10, 2021 · 0 comments · Fixed by #11805
Assignees
Milestone

Comments

@tgodzik
Copy link
Contributor

tgodzik commented Mar 10, 2021

Compiler version

3.0.0-RC1

Minimized code

package example
given intValue: Int = 4
given String = "str"

Output

package example
/*example.GivenAlias$package.*/given intValue/*example.GivenAlias$package.intValue.*/: Int/*scala.Int#*/ = 4
given String/*scala.Predef.String#*/ = "st/*example.GivenAlias$package.given_String.*/r"

The position also seems a bit random, it ends in the middle of a string.

Expectation

package example
/*example.GivenAlias$package.*/given intValue/*example.GivenAlias$package.intValue.*/: Int/*scala.Int#*/ = 4
given String/*scala.Predef.String#*/ = "str"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants