summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorSean McDirmid <sean.mcdirmid@gmail.com>2008-05-31 14:25:18 +0000
committerSean McDirmid <sean.mcdirmid@gmail.com>2008-05-31 14:25:18 +0000
commit7569442847c4d34e02e915125c475cc5449f12d9 (patch)
treec982c0195759d82d8c851cd4c1b67d3b84f4ec97 /src/compiler
parente8eb3647f6720951caf0a1387b149d0b1485749f (diff)
downloadscala-7569442847c4d34e02e915125c475cc5449f12d9.tar.gz
scala-7569442847c4d34e02e915125c475cc5449f12d9.tar.bz2
scala-7569442847c4d34e02e915125c475cc5449f12d9.zip
Fixing problem with inter-project dependencies
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
index bb3a0f58aa..3cf8b8f25a 100644
--- a/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
+++ b/src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala
@@ -658,8 +658,10 @@ abstract class ClassfileParser {
if ((sourceFile0 ne null) && (clazz.sourceFile eq null)) {
clazz.sourceFile = sourceFile0
}
- if (!inIDE || staticModule.moduleClass != NoSymbol)
+ // XXX: removing only in IDE test. Also needs to be tested in the build compiler.
+ if (staticModule.moduleClass != NoSymbol) {
staticModule.moduleClass.sourceFile = clazz.sourceFile
+ }
}
case nme.AnnotationDefaultATTR =>
sym.attributes =