Skip to content

ValDef name is not normalised #9772

Closed
Closed
@bishabosha

Description

@bishabosha

Minimized code

class Foo { var extension_bar = 23 }

Output

scala> class Foo { var extension_bar = 23 }
// defined class Foo

Expectation

names should not begin with extension_. I see that in Desugar normalizeName is not called for ValDef

my small motivation being here that var accessors are represented as methods in semanticDB

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions