aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Denotations.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/core/Denotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/Denotations.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Denotations.scala b/src/dotty/tools/dotc/core/Denotations.scala
index a3b48926e..24008ab63 100644
--- a/src/dotty/tools/dotc/core/Denotations.scala
+++ b/src/dotty/tools/dotc/core/Denotations.scala
@@ -9,6 +9,7 @@ import Names.TypeName
import Symbols.NoSymbol
import Symbols._
import Types._, Periods._, Flags._, Transformers._
+import util.Texts._
import io.AbstractFile
import Decorators.SymbolIteratorDecorator
@@ -276,7 +277,7 @@ object Denotations {
}
}
- def show(implicit ctx: Context): String = ctx.show(this)
+ def toText(implicit ctx: Context): Text = ctx.toText(this)
}
/** An overloaded denotation consisting of the alternatives of both given denotations.