Permalink
Browse files

Quieted down a developer warning.

  • Loading branch information...
paulp committed May 10, 2012
1 parent 4db0821 commit fcee9b94be00828aecbcd67f8a21dbc4eeed6d0d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/compiler/scala/tools/nsc/backend/icode/GenICode.scala
@@ -1208,7 +1208,7 @@ abstract class GenICode extends SubComponent {
if (!tree.symbol.isPackageClass) tree.symbol
else tree.symbol.info.member(nme.PACKAGE) match {
case NoSymbol => assert(false, "Cannot use package as value: " + tree) ; NoSymbol
case s => Console.err.println("Bug: found package class where package object expected. Converting.") ; s.moduleClass
case s => debugwarn("Bug: found package class where package object expected. Converting.") ; s.moduleClass
}
)
debuglog("LOAD_MODULE from %s: %s".format(tree.shortClass, sym))

0 comments on commit fcee9b9

Please sign in to comment.