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 6aafaf7 commit c5c0d31Copy full SHA for c5c0d31
compiler/test/dotty/tools/compilerSupport.scala
@@ -18,7 +18,7 @@ import dotc.core.Comments.{ContextDoc, ContextDocstrings}
18
* issues involving retrieving symbols defined in a previous run.
19
*/
20
def inCompilerContext[T](classpath: String, separateRun: Boolean = true, scalaSources: String*)(op: Context ?=> T): T =
21
- val compiler = Compiler()
+ val compiler = new Compiler()
22
val rootCtx = initCtx(classpath)
23
val firstRun = compiler.newRun(using rootCtx)
24
firstRun.compileFromStrings(scalaSources.toList)
0 commit comments