Skip to content

Commit 9b6f464

Browse files
committed
Make NameDecorator.name private properly
1 parent a252520 commit 9b6f464

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ object NameOps {
4949
}
5050
}
5151

52-
implicit class NameDecorator[N <: Name](val name_ : N) extends AnyVal {
53-
private def name = name_
52+
implicit class NameDecorator[N <: Name](private val name: N) extends AnyVal {
5453
import nme._
5554

5655
def testSimple(f: SimpleName => Boolean): Boolean = name match {

0 commit comments

Comments
 (0)