diff options
author | Martin Odersky <odersky@gmail.com> | 2013-02-03 11:59:38 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-02-03 11:59:38 +0100 |
commit | 8ac1b32ad3b190de82f5c4f1d1666f093ad8c20f (patch) | |
tree | 024b841641152deb5743d678885afae68ba8647b /src/dotty/tools/dotc/config/Platform.scala | |
parent | abc8f5e1c382b1ead761976227878c4c38ebfbf5 (diff) | |
download | dotty-8ac1b32ad3b190de82f5c4f1d1666f093ad8c20f.tar.gz dotty-8ac1b32ad3b190de82f5c4f1d1666f093ad8c20f.tar.bz2 dotty-8ac1b32ad3b190de82f5c4f1d1666f093ad8c20f.zip |
Integration of settings, platform, pathresolver, etc.
Diffstat (limited to 'src/dotty/tools/dotc/config/Platform.scala')
-rw-r--r-- | src/dotty/tools/dotc/config/Platform.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/config/Platform.scala b/src/dotty/tools/dotc/config/Platform.scala index 73d32f193..32f2139e7 100644 --- a/src/dotty/tools/dotc/config/Platform.scala +++ b/src/dotty/tools/dotc/config/Platform.scala @@ -8,7 +8,7 @@ package dotc package config import io.{ClassPath, AbstractFile} -import core.Contexts._ +import core.Contexts._, core.Symbols._ import core.SymDenotations.ClassCompleter import core.SymbolLoader @@ -20,7 +20,7 @@ abstract class Platform(base: ContextBase) { def rootLoader: ClassCompleter /** The compiler classpath. */ - def classPath: ClassPath + def classPath(implicit ctx: Context): ClassPath /** Update classpath with a substitution that maps entries to entries */ def updateClassPath(subst: Map[ClassPath, ClassPath]) @@ -29,7 +29,7 @@ abstract class Platform(base: ContextBase) { //def platformPhases: List[SubComponent] /** The various ways a boxed primitive might materialize at runtime. */ - def isMaybeBoxed(sym: Symbol): Boolean + def isMaybeBoxed(sym: Symbol)(implicit ctx: Context): Boolean /** Create a new class loader to load class file `bin` */ def newClassLoader(bin: AbstractFile): SymbolLoader |