Skip to content

Commit 721222d

Browse files
committed
WIP ignore numeric conversion fail
1 parent 77e9052 commit 721222d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/test/dotty/tools/vulpix/ParallelTesting.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,12 @@ trait ParallelTesting extends RunnerOrchestration { self =>
750750
else
751751
errorMap.get("anypos") match
752752
case null => missing
753-
case 1 => errorMap.remove("anypos") ; true
753+
case ONE => errorMap.remove("anypos") ; true
754754
case slack => if slack < 1 then missing
755755
else errorMap.put("anypos", slack - 1) ; true
756756
}
757757
}
758+
private final val ONE = 1: Integer
758759

759760
private final class NoCrashTest(testSources: List[TestSource], times: Int, threadLimit: Option[Int], suppressAllOutput: Boolean)(implicit summaryReport: SummaryReporting)
760761
extends Test(testSources, times, threadLimit, suppressAllOutput) {

0 commit comments

Comments
 (0)