Skip to content

Commit 401fc37

Browse files
committed
Fix Benchmarks.scala
1 parent 1e46526 commit 401fc37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bench/src/main/scala/Benchmarks.scala

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package dotty.tools.benchmarks
22

33
import dotty.tools.dotc._
4-
import core.Contexts.Context
4+
import core.Contexts.{Context, CState}
55
import dotty.tools.FatalError
66
import reporting._
77

@@ -94,6 +94,7 @@ class CompilerOptions {
9494
class Worker extends Driver {
9595
// override to avoid printing summary information
9696
override def doCompile(compiler: Compiler, fileNames: List[String])(implicit ctx: Context): Reporter =
97+
given CState = ctx.cstate
9798
if (fileNames.nonEmpty)
9899
try {
99100
val run = compiler.newRun

0 commit comments

Comments
 (0)