fixed nightly build

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@13909 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
michelou 2008-02-07 11:01:59 +00:00
parent 3519a14e11
commit 3d022d02d9
2 changed files with 4 additions and 5 deletions

View File

@ -765,6 +765,7 @@ CLDC
</classpath>
<include name="**/*.scala"/>
<exclude name="scala/Predef.scala"/>
<exclude name="scala/BigDecimal.scala"/>
<exclude name="scala/BigInt.scala"/>
<exclude name="scala/collection/mutable/JavaMapAdaptor.scala"/>
<exclude name="scala/collection/mutable/JavaSetAdaptor.scala"/>

View File

@ -6,12 +6,9 @@
package scala.tools.nsc.symtab
import java.util.regex.Pattern
import scala.tools.nsc.io.AbstractFile
import scala.tools.nsc.util.{Position, NoPosition, SourceFile, BatchSourceFile}
import scala.tools.nsc.util.{Position, NoPosition, BatchSourceFile}
import Flags._
import nsc.util.RegexCache
trait Symbols {
self: SymbolTable =>
@ -1019,8 +1016,9 @@ trait Symbols {
ret
}
def sourceFile_=(f: AbstractFile): Unit =
def sourceFile_=(f: AbstractFile) {
throw new Error("sourceFile_= inapplicable for " + this)
}
def isFromClassFile: Boolean =
(if (isModule) moduleClass else toplevelClass).isFromClassFile