Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
lrytz committed Aug 23, 2019
1 parent 5f6b28c commit b13d671
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import scala.reflect.internal.util.Position
import scala.tools.nsc.Settings


/** A ForwardingReporter that delegates to another ForwardingReporter. This class can be used to
/** A FilteringReporter that delegates to another FilteringReporter. This class can be used to
* customize error reporting.
* {{{
* val myReporter = new ForwardingReporter(global.reporter) {
Expand Down
5 changes: 0 additions & 5 deletions src/compiler/scala/tools/reflect/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ package object reflect {
case API_ERROR => reporter.error(info.pos, info.msg)
}

def interactive(): Unit = reporter match {
case reporter: PrintReporter => reporter.displayPrompt()
case _ => // do nothing
}

override def flush(): Unit = {
super.flush()
reporter.flush()
Expand Down

0 comments on commit b13d671

Please sign in to comment.