We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e46526 commit 401fc37Copy full SHA for 401fc37
bench/src/main/scala/Benchmarks.scala
@@ -1,7 +1,7 @@
1
package dotty.tools.benchmarks
2
3
import dotty.tools.dotc._
4
-import core.Contexts.Context
+import core.Contexts.{Context, CState}
5
import dotty.tools.FatalError
6
import reporting._
7
@@ -94,6 +94,7 @@ class CompilerOptions {
94
class Worker extends Driver {
95
// override to avoid printing summary information
96
override def doCompile(compiler: Compiler, fileNames: List[String])(implicit ctx: Context): Reporter =
97
+ given CState = ctx.cstate
98
if (fileNames.nonEmpty)
99
try {
100
val run = compiler.newRun
0 commit comments