aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Constants.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/core/Constants.scala')
-rw-r--r--src/dotty/tools/dotc/core/Constants.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Constants.scala b/src/dotty/tools/dotc/core/Constants.scala
index 9dd5a2627..0b4f51cf2 100644
--- a/src/dotty/tools/dotc/core/Constants.scala
+++ b/src/dotty/tools/dotc/core/Constants.scala
@@ -189,7 +189,7 @@ object Constants {
def stringValue: String = value.toString
- def show(implicit ctx: Context) = ctx.show(this)
+ def toText(implicit ctx: Context) = ctx.toText(this)
def typeValue: Type = value.asInstanceOf[Type]
def symbolValue: Symbol = value.asInstanceOf[Symbol]