Skip to content

Commit

Permalink
Fix Scala 2.12.10 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
adpi2 committed Oct 20, 2022
1 parent ec5c0d4 commit 2eeed25
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import java.{util => ju}
import scala.jdk.CollectionConverters._
import scala.tools.nsc.reporters.StoreReporter
import scala.util.control.NonFatal
import scala.annotation

final class ExpressionCompilerBridge {
def run(
Expand All @@ -32,7 +31,7 @@ final class ExpressionCompilerBridge {
) ++ options :+ sourceFile.toString

val command = new CompilerCommand(args, errorConsumer.accept(_))
val reporter = new StoreReporter(): @annotation.nowarn()
val reporter = new StoreReporter()
val global = new ExpressionGlobal(
command.settings,
reporter,
Expand Down

0 comments on commit 2eeed25

Please sign in to comment.