summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-02-10 23:29:54 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-02-10 23:29:54 +0000
commit821e11d05657a377e26f03a95b971d8d58189015 (patch)
tree141964b7e56ec860a13fdecc4b05fa65e109127d /src/compiler
parenta8ee0a1a9336126a78db3512c45a58f2bd476d8b (diff)
downloadscala-821e11d05657a377e26f03a95b971d8d58189015.tar.gz
scala-821e11d05657a377e26f03a95b971d8d58189015.tar.bz2
scala-821e11d05657a377e26f03a95b971d8d58189015.zip
Fixes #3045. No review.
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/dependencies/DependencyAnalysis.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/dependencies/DependencyAnalysis.scala b/src/compiler/scala/tools/nsc/dependencies/DependencyAnalysis.scala
index 9a57913083..11861d54fc 100644
--- a/src/compiler/scala/tools/nsc/dependencies/DependencyAnalysis.scala
+++ b/src/compiler/scala/tools/nsc/dependencies/DependencyAnalysis.scala
@@ -173,7 +173,7 @@ trait DependencyAnalysis extends SubComponent with Files {
tree match {
case cdef: ClassDef if !cdef.symbol.hasFlag(Flags.PACKAGE) &&
!cdef.symbol.isAnonymousFunction =>
- buf += cdef.symbol
+ if (cdef.symbol != NoSymbol) buf += cdef.symbol
atPhase(currentRun.erasurePhase.prev) {
for (s <- cdef.symbol.info.decls)
s match {