Skip to content

Commit 5825e91

Browse files
committed
Remove unused _errorCount field
1 parent 565a2e5 commit 5825e91

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,17 +226,12 @@ trait ParallelTesting extends RunnerOrchestration { self =>
226226
/** Total amount of test sources being compiled by this test */
227227
val sourceCount = filteredSources.length
228228

229-
private[this] var _errorCount = 0
230-
/** Number of (expected or unexpected) compiler errors. Unlikely to be what you want, use `failureCount` instead. */
231-
private[this] def errorCount: Int = _errorCount
232-
233229
private[this] var _testSourcesCompleted = 0
234230
private def testSourcesCompleted: Int = _testSourcesCompleted
235231

236232
/** Complete the current compilation with the amount of errors encountered */
237233
protected final def registerCompletion(errors: Int) = synchronized {
238234
_testSourcesCompleted += 1
239-
_errorCount += errors
240235
}
241236

242237
sealed trait Failure

0 commit comments

Comments
 (0)