File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
expression-compiler/src/main/scala-2/scala/tools/nsc Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1111 steps :
1212 - uses : actions/checkout@v3
1313 - run : ./bin/scalafmt --test
14+ cross-compilation :
15+ name : Cross Compilation
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v3
19+ -
uses :
coursier/[email protected] 20+ with :
21+ app : sbt
22+ - run : sbt +compile
1423 test :
1524 strategy :
1625 fail-fast : false
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import java.{util => ju}
66import scala .jdk .CollectionConverters ._
77import scala .tools .nsc .reporters .StoreReporter
88import scala .util .control .NonFatal
9+ import scala .annotation
910
1011final class ExpressionCompilerBridge {
1112 def run (
@@ -31,7 +32,7 @@ final class ExpressionCompilerBridge {
3132 ) ++ options :+ sourceFile.toString
3233
3334 val command = new CompilerCommand (args, errorConsumer.accept(_))
34- val reporter = new StoreReporter (command.settings )
35+ val reporter = new StoreReporter () : @ annotation.nowarn( )
3536 val global = new ExpressionGlobal (
3637 command.settings,
3738 reporter,
You can’t perform that action at this time.
0 commit comments