File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
compiler/test/dotty/tools/vulpix Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -555,7 +555,8 @@ trait ParallelTesting extends RunnerOrchestration { self =>
555
555
.and(" -d" , targetDir.getPath)
556
556
.and(" -pagewidth" , pageWidth.toString)
557
557
558
- val reporter = TestReporter .reporter(System .out, ERROR )
558
+ val reporter = TestReporter .reporter(realStdout, logLevel =
559
+ if (suppressErrors || suppressAllOutput) ERROR + 1 else ERROR )
559
560
560
561
val command = Array (compilerDir + " /bin/scalac" ) ++ flags1.all ++ files.map(_.getPath)
561
562
val process = Runtime .getRuntime.exec(command)
Original file line number Diff line number Diff line change
1
+ def a : Int = {
2
+ 3
3
+ 4
4
+ }
5
+ def f : Int = match // error // error
Original file line number Diff line number Diff line change
1
+ def test () = f // error
You can’t perform that action at this time.
0 commit comments