aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Names.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/core/Names.scala')
-rw-r--r--src/dotty/tools/dotc/core/Names.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/Names.scala b/src/dotty/tools/dotc/core/Names.scala
index 8a345fcc8..b61f5ee06 100644
--- a/src/dotty/tools/dotc/core/Names.scala
+++ b/src/dotty/tools/dotc/core/Names.scala
@@ -33,7 +33,6 @@ object Names {
*/
abstract class Name extends DotClass
with PreName
- with Showable
with Seq[Char]
with IndexedSeqOptimized[Char, Name] {
@@ -82,7 +81,7 @@ object Names {
override def toString = new String(chrs, start, length)
- def show(implicit ctx: Context): String = ctx.show(this)
+ def show(implicit ctx: Context): String = ctx.nameString(this)
/** Write to UTF8 representation of this name to given character array.
* Start copying to index `to`. Return index of next free byte in array.