diff options
author | Martin Odersky <odersky@gmail.com> | 2017-03-24 19:15:51 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-04-11 09:33:10 +0200 |
commit | 0755ec28d22798c51aedf45e4dcdf1ed299c2aa5 (patch) | |
tree | 06b8b8f94005a9380d76c42880239fe282be268b /compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala | |
parent | 0ad1cd816bc1537ad332addabb0ff6c293e3e0a0 (diff) | |
download | dotty-0755ec28d22798c51aedf45e4dcdf1ed299c2aa5.tar.gz dotty-0755ec28d22798c51aedf45e4dcdf1ed299c2aa5.tar.bz2 dotty-0755ec28d22798c51aedf45e4dcdf1ed299c2aa5.zip |
Add Variant NameInfo
Plus further bug fixes.
Diffstat (limited to 'compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala b/compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala index c762bbeaf..20e657ce7 100644 --- a/compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala +++ b/compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala @@ -97,11 +97,7 @@ class PlainPrinter(_ctx: Context) extends Printer { || (sym.name == nme.PACKAGE) // package ) - def nameString(name: Name): String = name.toString + { - if (ctx.settings.debugNames.value) - if (name.isTypeName) "/T" else "/V" - else "" - } + def nameString(name: Name): String = name.toString def toText(name: Name): Text = Str(nameString(name)) |