Skip to content

Commit edc0a23

Browse files
committed
Use mangled suffix for synthetic setters
1 parent 90d7b5e commit edc0a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/NameKinds.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ object NameKinds {
367367
val ModuleClassName: SuffixNameKind = new SuffixNameKind(OBJECTCLASS, "$", optInfoString = "ModuleClass")
368368
val ImplMethName: SuffixNameKind = new SuffixNameKind(IMPLMETH, "$")
369369
val AdaptedClosureName: SuffixNameKind = new SuffixNameKind(ADAPTEDCLOSURE, "$adapted") { override def definesNewName = true }
370-
val SyntheticSetterName: SuffixNameKind = new SuffixNameKind(SETTER, "_=")
370+
val SyntheticSetterName: SuffixNameKind = new SuffixNameKind(SETTER, "_$eq")
371371

372372
/** A name together with a signature. Used in Tasty trees. */
373373
object SignedName extends NameKind(SIGNED) {

0 commit comments

Comments
 (0)