summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2008-09-28 07:56:50 +0000
committerMartin Odersky <odersky@gmail.com>2008-09-28 07:56:50 +0000
commit184383a519ab637530899ffd446a30c919e4a991 (patch)
tree9ca2646d5bb8404b17273ec2a55e1ed3ce87663a /src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
parente20362771cc395d6894658de101881b7ae6295b4 (diff)
downloadscala-184383a519ab637530899ffd446a30c919e4a991.tar.gz
scala-184383a519ab637530899ffd446a30c919e4a991.tar.bz2
scala-184383a519ab637530899ffd446a30c919e4a991.zip
Fixed #1263, and some cosmetic changes
Diffstat (limited to 'src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala')
-rw-r--r--src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
index c52eda360a..5a74c9087c 100644
--- a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
+++ b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
@@ -764,8 +764,7 @@ abstract class ClassfileParser {
val t = pool.getType(index)
val n = pool.getName(in.nextChar)
val s = t.typeSymbol.linkedModuleOfClass.info.decls.lookup(n)
- //assert (s != NoSymbol, "while processing " + in.file + ": " + t + "." + n + ": " + t.decls)
- assert(s != NoSymbol, t) // avoid string concatenation!
+ assert(s != NoSymbol, t)
Constant(s)
case ARRAY_TAG =>
val arr = new ArrayBuffer[Constant]()