Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f7d2a88

Browse files
committedMar 26, 2017
Fix to fieldName for trait setters
1 parent 252678d commit f7d2a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/src/dotty/tools/dotc/core/NameOps.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ object NameOps {
415415
if (name.isTraitSetterName) {
416416
if (Config.semanticNames) {
417417
val DerivedTermName(_, NameInfo.TraitSetter(original)) = name
418-
original ++ LOCAL_SUFFIX
418+
original.fieldName
419419
}
420420
else {
421421
// has form <$-separated-trait-name>$_setter_$ `name`_$eq

0 commit comments

Comments
 (0)
Please sign in to comment.