aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Types.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-03-20 17:39:32 +0100
committerMartin Odersky <odersky@gmail.com>2013-03-20 17:39:32 +0100
commit5ac2104e688409e24785cfe62cdc7e8ef0bc6428 (patch)
tree0d48205fa5b50c25e240d77d4fb0e26c4b6c9b36 /src/dotty/tools/dotc/core/Types.scala
parent53e0a8a9227820e47e33f1e0b1d91819aec917c4 (diff)
downloaddotty-5ac2104e688409e24785cfe62cdc7e8ef0bc6428.tar.gz
dotty-5ac2104e688409e24785cfe62cdc7e8ef0bc6428.tar.bz2
dotty-5ac2104e688409e24785cfe62cdc7e8ef0bc6428.zip
Pretty-printing improvements.
Diffstat (limited to 'src/dotty/tools/dotc/core/Types.scala')
-rw-r--r--src/dotty/tools/dotc/core/Types.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala
index 297f58cd5..252901b17 100644
--- a/src/dotty/tools/dotc/core/Types.scala
+++ b/src/dotty/tools/dotc/core/Types.scala
@@ -15,7 +15,7 @@ import SymDenotations._
import Decorators._
import Denotations._
import Periods._
-import TypedTrees.tpd._, TypedTrees.TreeMapper
+import TypedTrees.tpd._, TypedTrees.TreeMapper, util.Texts._
import transform.Erasure
import scala.util.hashing.{ MurmurHash3 => hashing }
import collection.mutable
@@ -663,7 +663,7 @@ object Types {
*/
def signature(implicit ctx: Context): Signature = NotAMethod
- def show(implicit ctx: Context): String = ctx.show(this, Printers.GlobalPrec)
+ def toText(implicit ctx: Context): Text = ctx.toText(this, Printers.GlobalPrec)
// ----- hashing ------------------------------------------------------