summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Global.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-02-04 12:26:42 +0000
committerPaul Phillips <paulp@improving.org>2010-02-04 12:26:42 +0000
commit9ee1f2f3b8ed91897bb298592f8a600ff5e4622d (patch)
treea2959e3eeaecb558d13a279404d35fb174df7ee7 /src/compiler/scala/tools/nsc/Global.scala
parent93277ea0201f139e829cfd7248142a0c5898d9ce (diff)
downloadscala-9ee1f2f3b8ed91897bb298592f8a600ff5e4622d.tar.gz
scala-9ee1f2f3b8ed91897bb298592f8a600ff5e4622d.tar.bz2
scala-9ee1f2f3b8ed91897bb298592f8a600ff5e4622d.zip
Unique's seeming victory is overruled by commit...
Unique's seeming victory is overruled by committee. It is "distinct", not "unique", wherein lies the nub. No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Global.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala
index 02baeba528..76771173df 100644
--- a/src/compiler/scala/tools/nsc/Global.scala
+++ b/src/compiler/scala/tools/nsc/Global.scala
@@ -713,7 +713,7 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable
/** Compile list of source files */
def compileSources(_sources: List[SourceFile]) {
- val depSources = dependencyAnalysis.filter(_sources.unique) // bug #1268, scalac confused by duplicated filenames
+ val depSources = dependencyAnalysis.filter(_sources.distinct) // bug #1268, scalac confused by duplicated filenames
val sources = scalaObjectFirst(depSources)
if (reporter.hasErrors)
return // there is a problem already, e.g. a