From fec318dedaa10bf7ffaebd7aaf4a99e05ac0312a Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 14 May 2013 12:22:35 +0200 Subject: Refactored Printers, Showable and Text into new package dotc.printing. --- src/dotty/tools/dotc/core/Types.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dotty/tools/dotc/core/Types.scala') 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 ------------------------------------------------------ -- cgit v1.2.3