fixes separate compilation on .net
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19299 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
a459cb1dfc
commit
2c58ebcca2
|
@ -198,7 +198,7 @@ abstract class SymbolLoaders {
|
|||
|
||||
class NamespaceLoader(classpath: ClassPath[MSILType]) extends PackageLoader(classpath) {
|
||||
protected def needCompile(bin: MSILType, src: AbstractFile) =
|
||||
(!src.name.endsWith(".java"))
|
||||
false // always use compiled file on .net
|
||||
|
||||
protected def doLoad(cls: ClassRep[MSILType]) = {
|
||||
if (cls.binary.isDefined) {
|
||||
|
|
Loading…
Reference in New Issue