aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Scopes.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/core/Scopes.scala')
-rw-r--r--src/dotty/tools/dotc/core/Scopes.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Scopes.scala b/src/dotty/tools/dotc/core/Scopes.scala
index 426d5a51a..82ec0a30a 100644
--- a/src/dotty/tools/dotc/core/Scopes.scala
+++ b/src/dotty/tools/dotc/core/Scopes.scala
@@ -13,6 +13,7 @@ import Decorators._
import Contexts._
import Denotations._
import printing.Texts._
+import printing.Printer
import SymDenotations.NoDenotation
object Scopes {
@@ -108,7 +109,7 @@ object Scopes {
syms
}
- final def toText(implicit ctx: Context): Text = ctx.toText(this)
+ final def toText(printer: Printer): Text = printer.toText(this)
}
/** A subclass of Scope that defines methods for entering and