summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2006-04-06 14:03:07 +0000
committermihaylov <mihaylov@epfl.ch>2006-04-06 14:03:07 +0000
commit9f328e4c8d4b176df0358b1c6089dd7f1f4521b5 (patch)
tree6d6a05b9343b446d88a884d04145c086b7817d42 /src/compiler
parent40f1882abeda9cd03612ec31f93e2d62b1b1b6c4 (diff)
downloadscala-9f328e4c8d4b176df0358b1c6089dd7f1f4521b5.tar.gz
scala-9f328e4c8d4b176df0358b1c6089dd7f1f4521b5.tar.bz2
scala-9f328e4c8d4b176df0358b1c6089dd7f1f4521b5.zip
Rewrote All$ and AllRef$ in Scala
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala
index 517059b31c..9409c73e68 100644
--- a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala
+++ b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala
@@ -94,7 +94,7 @@ abstract class GenJVM extends SubComponent {
case _ =>
log("Could not find pickle information for " + sym);
}
- if (!jclass.getName().endsWith("$"))
+ if (!(jclass.getName().endsWith("$") && sym.isModuleClass))
addScalaAttr(if (isTopLevelModule(sym)) sym.sourceModule else sym);
val outfile = getFile(jclass, ".class");
jclass.writeTo(outfile);