diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-02-10 23:29:54 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-02-10 23:29:54 +0000 |
commit | 821e11d05657a377e26f03a95b971d8d58189015 (patch) | |
tree | 141964b7e56ec860a13fdecc4b05fa65e109127d | |
parent | a8ee0a1a9336126a78db3512c45a58f2bd476d8b (diff) | |
download | scala-821e11d05657a377e26f03a95b971d8d58189015.tar.gz scala-821e11d05657a377e26f03a95b971d8d58189015.tar.bz2 scala-821e11d05657a377e26f03a95b971d8d58189015.zip |
Fixes #3045. No review.
-rw-r--r-- | src/compiler/scala/tools/nsc/dependencies/DependencyAnalysis.scala | 2 |
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 { |