Skip to content

Regression: name clash in macro generated code after upgrading to 2.12.8 #11293

@Atry

Description

@Atry

I found some name clashes when upgrading Scala to 2.12.8 in Binding.scala, maybe due to retronym/scala@e764204 .

Name clash due to placeholder

This can be workaround by replacing q"{ _: Unit => ... }" to q"{${c.freshName[TermName]("unit")}: Unit => ... }".

Name clash due to freshName

This can be workaround by changing the prefix of the freshName

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions