File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -102,10 +102,10 @@ object Names {
102
102
def toText (printer : Printer ): Text = printer.toText(this )
103
103
104
104
/** Replace \$op_name's by corresponding operator symbols. */
105
- def decode : Name
105
+ def decode : ThisName
106
106
107
107
/** Replace operator symbols by corresponding \$op_name's. */
108
- def encode : Name
108
+ def encode : ThisName
109
109
110
110
def firstPart : SimpleTermName
111
111
def lastPart : SimpleTermName
@@ -355,8 +355,8 @@ object Names {
355
355
case class DerivedTermName (override val underlying : TermName , override val info : NameInfo )
356
356
extends TermName {
357
357
def isEmpty = false
358
- def encode : Name = underlying.encode.derived(info.map(_.encode))
359
- def decode : Name = underlying.decode.derived(info.map(_.decode))
358
+ def encode : ThisName = underlying.encode.derived(info.map(_.encode))
359
+ def decode : ThisName = underlying.decode.derived(info.map(_.decode))
360
360
def firstPart = underlying.firstPart
361
361
def lastPart = info match {
362
362
case qual : QualifiedInfo => qual.name
You can’t perform that action at this time.
0 commit comments