Skip to content

Commit 2eeed25

Browse files
committed
Fix Scala 2.12.10 compilation
1 parent ec5c0d4 commit 2eeed25

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

expression-compiler/src/main/scala-2/scala/tools/nsc/ExpressionCompilerBridge.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import java.{util => ju}
66
import scala.jdk.CollectionConverters._
77
import scala.tools.nsc.reporters.StoreReporter
88
import scala.util.control.NonFatal
9-
import scala.annotation
109

1110
final class ExpressionCompilerBridge {
1211
def run(
@@ -32,7 +31,7 @@ final class ExpressionCompilerBridge {
3231
) ++ options :+ sourceFile.toString
3332

3433
val command = new CompilerCommand(args, errorConsumer.accept(_))
35-
val reporter = new StoreReporter(): @annotation.nowarn()
34+
val reporter = new StoreReporter()
3635
val global = new ExpressionGlobal(
3736
command.settings,
3837
reporter,

0 commit comments

Comments
 (0)