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 065a0b4

Browse files
committedJun 19, 2015
Implementations of mixin getters are never ParamAccessors
Need to suppress the flag when copying symbols.
1 parent 0a50465 commit 065a0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/dotty/tools/dotc/transform/MixinOps.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class MixinOps(cls: ClassSymbol, thisTransform: DenotTransformer)(implicit ctx:
1717
val res = member.copy(
1818
owner = cls,
1919
name = member.name.stripScala2LocalSuffix,
20-
flags = member.flags &~ Deferred,
20+
flags = member.flags &~ (Deferred | ParamAccessor),
2121
info = cls.thisType.memberInfo(member)).enteredAfter(thisTransform).asTerm
2222
res.addAnnotations(member.annotations)
2323
res

0 commit comments

Comments
 (0)
Please sign in to comment.