diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2008-05-31 14:25:18 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2008-05-31 14:25:18 +0000 |
commit | 7569442847c4d34e02e915125c475cc5449f12d9 (patch) | |
tree | c982c0195759d82d8c851cd4c1b67d3b84f4ec97 /src | |
parent | e8eb3647f6720951caf0a1387b149d0b1485749f (diff) | |
download | scala-7569442847c4d34e02e915125c475cc5449f12d9.tar.gz scala-7569442847c4d34e02e915125c475cc5449f12d9.tar.bz2 scala-7569442847c4d34e02e915125c475cc5449f12d9.zip |
Fixing problem with inter-project dependencies
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/classfile/ClassfileParser.scala | 4 |
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 = |