aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Contexts.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/core/Contexts.scala')
-rw-r--r--src/dotty/tools/dotc/core/Contexts.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/Contexts.scala b/src/dotty/tools/dotc/core/Contexts.scala
index 9ca111dc0..388ae60ce 100644
--- a/src/dotty/tools/dotc/core/Contexts.scala
+++ b/src/dotty/tools/dotc/core/Contexts.scala
@@ -40,6 +40,7 @@ object Contexts {
with TypeOps
with Printers
with Symbols
+ with SymDenotations
with Cloneable {
implicit val ctx: Context = this
@@ -158,9 +159,9 @@ object Contexts {
val loaders = new SymbolLoaders
- val platform: Platform = new JavaPlatform(this)
+ val platform: Platform = new JavaPlatform
- val rootLoader: ClassCompleter = platform.rootLoader
+ def rootLoader(implicit ctx: Context): SymbolLoader = platform.rootLoader
val definitions = new Definitions()(initialCtx)