diff options
author | Paul Phillips <paulp@improving.org> | 2011-02-10 20:49:30 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-02-10 20:49:30 +0000 |
commit | 8e380b67366ab83d81fd401632af17d7cc0c2205 (patch) | |
tree | b110ab274d8c82aa9ef7308b762f31a97087f3b0 /src/compiler/scala/tools/nsc/settings/ScalaSettings.scala | |
parent | d54ad45ded6f0220b17246592a4c07ccb9e09184 (diff) | |
download | scala-8e380b67366ab83d81fd401632af17d7cc0c2205.tar.gz scala-8e380b67366ab83d81fd401632af17d7cc0c2205.tar.bz2 scala-8e380b67366ab83d81fd401632af17d7cc0c2205.zip |
Created invisible setting to expose empty packa...
Created invisible setting to expose empty package members outside of the
empty package, so the repl can use packages without going blind to the
empty package. This commit also eliminates a deadlock which hits when
the compiler starts logging before a lazy val has pulled its head from
the noose. Closes #4228, review by odersky.
Diffstat (limited to 'src/compiler/scala/tools/nsc/settings/ScalaSettings.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/settings/ScalaSettings.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala index 85bcefeb4c..8151da3869 100644 --- a/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala +++ b/src/compiler/scala/tools/nsc/settings/ScalaSettings.scala @@ -147,6 +147,8 @@ trait ScalaSettings extends AbsScalaSettings with StandardScalaSettings { val noSelfCheck = BooleanSetting ("-Yno-self-type-checks", "Suppress check for self-type conformance among inherited members.") val YvirtClasses = false // too embryonic to even expose as a -Y //BooleanSetting ("-Yvirtual-classes", "Support virtual classes") + val exposeEmptyPackage = BooleanSetting("-Yexpose-empty-package", "Internal only: expose the empty package.").internalOnly() + /** * Warnings */ |