aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Types.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-05-14 12:22:35 +0200
committerMartin Odersky <odersky@gmail.com>2013-05-14 12:22:35 +0200
commitfec318dedaa10bf7ffaebd7aaf4a99e05ac0312a (patch)
tree8d5f9560806325c922eceb847f5c13b096aa7013 /src/dotty/tools/dotc/core/Types.scala
parentb866c49bde62ee8ee52358dee746db64741b5891 (diff)
downloaddotty-fec318dedaa10bf7ffaebd7aaf4a99e05ac0312a.tar.gz
dotty-fec318dedaa10bf7ffaebd7aaf4a99e05ac0312a.tar.bz2
dotty-fec318dedaa10bf7ffaebd7aaf4a99e05ac0312a.zip
Refactored Printers, Showable and Text into new package dotc.printing.
Diffstat (limited to 'src/dotty/tools/dotc/core/Types.scala')
-rw-r--r--src/dotty/tools/dotc/core/Types.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala
index e4209ba98..46b718968 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, util.Texts._
+import TypedTrees.tpd._, TypedTrees.TreeMapper, printing.Texts._
import transform.Erasure
import scala.util.hashing.{ MurmurHash3 => hashing }
import collection.mutable
@@ -70,7 +70,7 @@ object Types {
* +- ErrorType
* +- WildcardType
*/
- abstract class Type extends DotClass with Showable {
+ abstract class Type extends DotClass with printing.Showable {
// ----- Tests -----------------------------------------------------
@@ -735,7 +735,7 @@ object Types {
*/
def signature(implicit ctx: Context): Signature = NotAMethod
- def toText(implicit ctx: Context): Text = ctx.toText(this, Printers.GlobalPrec)
+ def toText(implicit ctx: Context): Text = ctx.toText(this, printing.Printers.GlobalPrec)
// ----- hashing ------------------------------------------------------