We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f020621 commit 24d8242Copy full SHA for 24d8242
bench/src/main/scala/Benchmarks.scala
@@ -17,6 +17,8 @@ import scala.collection.JavaConverters._
17
import scala.io.Source
18
import scala.util.Using
19
20
+import dotty.tools.io.AbstractFile
21
+
22
object Bench {
23
val COMPILE_OPTS_FILE = "compile.txt"
24
@@ -94,7 +96,7 @@ class CompilerOptions {
94
96
class Worker extends Driver {
95
97
// override to avoid printing summary information
98
override def doCompile(compiler: Compiler, files: List[AbstractFile])(implicit ctx: Context): Reporter =
- if (fileNames.nonEmpty)
99
+ if (files.nonEmpty)
100
try {
101
val run = compiler.newRun
102
run.compile(files)
0 commit comments