diff options
author | Martin Odersky <odersky@gmail.com> | 2013-03-11 19:08:31 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-03-11 19:08:31 +0100 |
commit | 66f45ed0c1708f976346e008e1d685013c6664af (patch) | |
tree | 5a5eb28d264605acb3dd84b2b693d3b051ceafe4 /src/dotty/tools/dotc/config | |
parent | 995946ac9a406b018a8d62291e1f69466b962086 (diff) | |
download | dotty-66f45ed0c1708f976346e008e1d685013c6664af.tar.gz dotty-66f45ed0c1708f976346e008e1d685013c6664af.tar.bz2 dotty-66f45ed0c1708f976346e008e1d685013c6664af.zip |
First steps to make compiler start work.
Still fighting with CyclicReference errors.
Diffstat (limited to 'src/dotty/tools/dotc/config')
-rw-r--r-- | src/dotty/tools/dotc/config/JavaPlatform.scala | 2 | ||||
-rw-r--r-- | src/dotty/tools/dotc/config/Platform.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/config/JavaPlatform.scala b/src/dotty/tools/dotc/config/JavaPlatform.scala index 0698ac929..bf467ec1e 100644 --- a/src/dotty/tools/dotc/config/JavaPlatform.scala +++ b/src/dotty/tools/dotc/config/JavaPlatform.scala @@ -21,7 +21,7 @@ class JavaPlatform extends Platform { def updateClassPath(subst: Map[ClassPath, ClassPath]) = currentClassPath = Some(new DeltaClassPath(currentClassPath.get, subst)) - def rootLoader(implicit ctx: Context): SymbolLoader = new ctx.base.loaders.PackageLoader(classPath)(ctx.condensed) + def rootLoader(root: TermSymbol)(implicit ctx: Context): SymbolLoader = new ctx.base.loaders.PackageLoader(root, classPath)(ctx.condensed) /** We could get away with excluding BoxedBooleanClass for the * purpose of equality testing since it need not compare equal diff --git a/src/dotty/tools/dotc/config/Platform.scala b/src/dotty/tools/dotc/config/Platform.scala index 7dc2507f2..4909c8d68 100644 --- a/src/dotty/tools/dotc/config/Platform.scala +++ b/src/dotty/tools/dotc/config/Platform.scala @@ -16,7 +16,7 @@ import core.SymbolLoader abstract class Platform { /** The root symbol loader. */ - def rootLoader(implicit ctx: Context): SymbolLoader + def rootLoader(root: TermSymbol)(implicit ctx: Context): SymbolLoader /** The compiler classpath. */ def classPath(implicit ctx: Context): ClassPath |