From cc604b57a2b2969db5d0d7212167c172a35a178b Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Mon, 10 May 2010 18:50:59 -0400 Subject: [PATCH] Sort input source files for consistency, addressing scalac's issues with source file ordering. --- compile/CompilerArguments.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile/CompilerArguments.scala b/compile/CompilerArguments.scala index 8786c6065..8233c9f1d 100644 --- a/compile/CompilerArguments.scala +++ b/compile/CompilerArguments.scala @@ -22,7 +22,7 @@ class CompilerArguments(scalaInstance: ScalaInstance, cp: ClasspathOptions) exte def finishClasspath(classpath: Set[File]): Set[File] = classpath ++ include(cp.compiler, scalaInstance.compilerJar) ++ include(cp.extra, scalaInstance.extraJars : _*) private def include(flag: Boolean, jars: File*) = if(flag) jars else Nil - protected def abs(files: Set[File]) = files.map(_.getAbsolutePath) + protected def abs(files: Set[File]) = files.map(_.getAbsolutePath).toList.sort(_ < _) protected def checkScalaHomeUnset() { val scalaHome = System.getProperty("scala.home")