Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Commit 7c265b3

Browse files
authored
Merge pull request #66 from szeiger/wip/scala-opts-for-scalac
Use the correct scalac options when run from sbt
2 parents 8b87fab + 1141601 commit 7c265b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/scala/tools/partest/nest/DirectCompiler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class DirectCompiler(val runner: Runner) {
6767
val Xplugin = if (xplugs.isEmpty) Nil else List(xprefix +
6868
(xplugs map (_ stripPrefix xprefix) flatMap (_ split pathSeparator) map absolutize mkString pathSeparator)
6969
)
70-
runner.suiteRunner.scalacExtraArgs ++ PartestDefaults.scalacOpts.split(' ') ++ others ++ Xplugin
70+
runner.suiteRunner.scalacExtraArgs ++ runner.suiteRunner.scalacOpts.split(' ') ++ others ++ Xplugin
7171
}
7272

7373
def compile(opts0: List[String], sources: List[File]): TestState = {

0 commit comments

Comments
 (0)