Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Commit 3b1fbc1

Browse files
committed
Merge pull request #56 from retronym/topic/error-count
Migrate to new Reporter API
2 parents a7419b1 + e1d36b7 commit 3b1fbc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/scala/tools/partest/nest/DirectCompiler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class DirectCompiler(val runner: Runner) {
9292
val command = new CompilerCommand(opts.toList, testSettings)
9393
val global = newGlobal(testSettings, logWriter)
9494
val reporter = global.reporter.asInstanceOf[ExtConsoleReporter]
95-
def errorCount = reporter.ERROR.count
95+
def errorCount = reporter.errorCount
9696

9797
testSettings.outputDirs setSingleOutput outDir.getPath
9898

0 commit comments

Comments
 (0)