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
@@ -354,8 +354,8 @@ object Names {
354
354
case class DerivedTermName (override val underlying : TermName , override val info : NameInfo )
355
355
extends TermName {
356
356
def isEmpty = false
357
- def encode : Name = underlying.encode.derived(info.map(_.encode))
358
- def decode : Name = underlying.decode.derived(info.map(_.decode))
357
+ def encode : ThisName = underlying.encode.derived(info.map(_.encode))
358
+ def decode : ThisName = underlying.decode.derived(info.map(_.decode))
359
359
def firstPart = underlying.firstPart
360
360
def lastPart = info match {
361
361
case qual : QualifiedInfo => qual.name
You can’t perform that action at this time.
0 commit comments