diff options
author | Martin Odersky <odersky@gmail.com> | 2013-12-22 17:48:23 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-12-22 17:48:23 +0100 |
commit | 108be8880688653de490975f29f6ae469e9f3e6a (patch) | |
tree | 61b3be280634b3ec69c31ff4cc378895bba90839 | |
parent | c986cb4546891991d418b3bee25ab233ecc31ffa (diff) | |
download | dotty-108be8880688653de490975f29f6ae469e9f3e6a.tar.gz dotty-108be8880688653de490975f29f6ae469e9f3e6a.tar.bz2 dotty-108be8880688653de490975f29f6ae469e9f3e6a.zip |
Making showDcls return a string.
... as all other show methods do.
-rw-r--r-- | src/dotty/tools/dotc/core/Symbols.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Symbols.scala b/src/dotty/tools/dotc/core/Symbols.scala index d6985039c..54fbd9860 100644 --- a/src/dotty/tools/dotc/core/Symbols.scala +++ b/src/dotty/tools/dotc/core/Symbols.scala @@ -437,7 +437,7 @@ object Symbols { def toText(printer: Printer): Text = printer.toText(this) def showLocated(implicit ctx: Context): String = ctx.locatedText(this).show - def showDcl(implicit ctx: Context): Text = ctx.dclText(this).show + def showDcl(implicit ctx: Context): String = ctx.dclText(this).show def showKind(implicit ctx: Context): String = ctx.kindString(this) def showName(implicit ctx: Context): String = ctx.nameString(this) def showFullName(implicit ctx: Context): String = ctx.fullNameString(this) |