diff options
author | Martin Odersky <odersky@gmail.com> | 2013-03-20 17:39:32 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-03-20 17:39:32 +0100 |
commit | 5ac2104e688409e24785cfe62cdc7e8ef0bc6428 (patch) | |
tree | 0d48205fa5b50c25e240d77d4fb0e26c4b6c9b36 /src/dotty/tools/dotc/core/Names.scala | |
parent | 53e0a8a9227820e47e33f1e0b1d91819aec917c4 (diff) | |
download | dotty-5ac2104e688409e24785cfe62cdc7e8ef0bc6428.tar.gz dotty-5ac2104e688409e24785cfe62cdc7e8ef0bc6428.tar.bz2 dotty-5ac2104e688409e24785cfe62cdc7e8ef0bc6428.zip |
Pretty-printing improvements.
Diffstat (limited to 'src/dotty/tools/dotc/core/Names.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Names.scala | 3 |
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. |