diff options
author | Paul Phillips <paulp@improving.org> | 2011-06-23 02:42:22 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-06-23 02:42:22 +0000 |
commit | a14da40419dfdd53f7dba6280d23a3531ee60196 (patch) | |
tree | 232efc9b48f07b72c1766001080eb48b2863e230 | |
parent | dbf4bf263ad6e809330a1720c2757f6e62b2bf42 (diff) | |
download | scala-a14da40419dfdd53f7dba6280d23a3531ee60196.tar.gz scala-a14da40419dfdd53f7dba6280d23a3531ee60196.tar.bz2 scala-a14da40419dfdd53f7dba6280d23a3531ee60196.zip |
Playing defense against NoSymbol in scaladoc, n...
Playing defense against NoSymbol in scaladoc, no review.
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/Uncompilable.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/Uncompilable.scala b/src/compiler/scala/tools/nsc/doc/Uncompilable.scala index 1f0c85361e..9b29ebd745 100644 --- a/src/compiler/scala/tools/nsc/doc/Uncompilable.scala +++ b/src/compiler/scala/tools/nsc/doc/Uncompilable.scala @@ -13,7 +13,7 @@ trait Uncompilable { val global: Global val settings: Settings - import global.{ reporter, inform, warning, newTypeName, newTermName, Symbol, Name, DocComment } + import global.{ reporter, inform, warning, newTypeName, newTermName, Symbol, Name, DocComment, NoSymbol } import global.definitions.RootClass private implicit def translateName(name: Global#Name) = @@ -43,6 +43,6 @@ trait Uncompilable { pairs } override def toString = pairs.size + " uncompilable symbols:\n" + ( - symbols map (x => " " + x.owner.fullName + " " + x.defString) mkString "\n" + symbols filterNot (_ == NoSymbol) map (x => " " + x.owner.fullName + " " + x.defString) mkString "\n" ) } |