diff options
author | Paul Phillips <paulp@improving.org> | 2012-02-03 09:54:02 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-02-03 12:47:12 -0800 |
commit | c5871a974aeaed8d90794c44629bde61f516dfaa (patch) | |
tree | 329bdbaa60aa69d12cdaf5654705ae845027d6e4 /src/compiler/scala/tools/nsc/typechecker/Contexts.scala | |
parent | 7ec4ba5ea921eafb092b05f580ba7381edcd8427 (diff) | |
download | scala-c5871a974aeaed8d90794c44629bde61f516dfaa.tar.gz scala-c5871a974aeaed8d90794c44629bde61f516dfaa.tar.bz2 scala-c5871a974aeaed8d90794c44629bde61f516dfaa.zip |
Mostly eliminated ScalaObject.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Contexts.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Contexts.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala index 740acbd10f..b5afd681d2 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala @@ -43,8 +43,7 @@ trait Contexts { self: Analyzer => * - if option `-Yno-imports` is given, nothing is imported * - if the unit is java defined, only `java.lang` is imported * - if option `-Yno-predef` is given, if the unit body has an import of Predef - * among its leading imports, or if the tree is [[scala.ScalaObject]] - * or [[scala.Predef]], `Predef` is not imported. + * among its leading imports, or if the tree is [[scala.Predef]], `Predef` is not imported. */ protected def rootImports(unit: CompilationUnit): List[Symbol] = { import definitions._ |