summaryrefslogtreecommitdiff
path: root/src/reflect/scala/reflect/internal/Mirrors.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-08-11 00:07:29 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-08-11 00:12:25 +0200
commit8d87387e6a4aa41783f83e3533046b9b57d5bcd1 (patch)
tree69e11003aec3cc51c55e09304a971c3832352b85 /src/reflect/scala/reflect/internal/Mirrors.scala
parenta9c00f2dff1f86f5cfcba4f8d88e784d866515ec (diff)
downloadscala-8d87387e6a4aa41783f83e3533046b9b57d5bcd1.tar.gz
scala-8d87387e6a4aa41783f83e3533046b9b57d5bcd1.tar.bz2
scala-8d87387e6a4aa41783f83e3533046b9b57d5bcd1.zip
SI-6201 minor fixes in key points
Fixes several oversights that led to 6201. RootPackage should have been static, refactored implementation of hasSymbolWhich shouldn't have checked hasSymbol. Full discussion is here: http://groups.google.com/group/scala-internals/browse_thread/thread/9500348f273a8aa.
Diffstat (limited to 'src/reflect/scala/reflect/internal/Mirrors.scala')
-rw-r--r--src/reflect/scala/reflect/internal/Mirrors.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/reflect/scala/reflect/internal/Mirrors.scala b/src/reflect/scala/reflect/internal/Mirrors.scala
index 2e2e63a4b4..bde7f7ac51 100644
--- a/src/reflect/scala/reflect/internal/Mirrors.scala
+++ b/src/reflect/scala/reflect/internal/Mirrors.scala
@@ -247,7 +247,7 @@ trait Mirrors extends api.Mirrors {
// is very beneficial for a handful of bootstrap symbols to have
// first class identities
sealed trait WellKnownSymbol extends Symbol {
- this initFlags TopLevelCreationFlags
+ this initFlags (TopLevelCreationFlags | STATIC)
}
// Features common to RootClass and RootPackage, the roots of all
// type and term symbols respectively.
@@ -276,7 +276,6 @@ trait Mirrors extends api.Mirrors {
override def isRoot = true
override def isEffectiveRoot = true
- override def isStatic = true
override def isNestedClass = false
}
// The empty package, which holds all top level types without given packages.