Skip to content

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

@tgodzik

Description

@tgodzik

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"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions