aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Symbols.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-12-22 17:48:23 +0100
committerMartin Odersky <odersky@gmail.com>2013-12-22 17:48:23 +0100
commit108be8880688653de490975f29f6ae469e9f3e6a (patch)
tree61b3be280634b3ec69c31ff4cc378895bba90839 /src/dotty/tools/dotc/core/Symbols.scala
parentc986cb4546891991d418b3bee25ab233ecc31ffa (diff)
downloaddotty-108be8880688653de490975f29f6ae469e9f3e6a.tar.gz
dotty-108be8880688653de490975f29f6ae469e9f3e6a.tar.bz2
dotty-108be8880688653de490975f29f6ae469e9f3e6a.zip
Making showDcls return a string.
... as all other show methods do.
Diffstat (limited to 'src/dotty/tools/dotc/core/Symbols.scala')
-rw-r--r--src/dotty/tools/dotc/core/Symbols.scala2
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)