Aladdin - Scala Bugtracking
[#777] project: api priority: medium category: bug
submitter assigned to status date submitted
Stephane Burak fixed 2006-10-13 11:16:28.0
subject Broken methods "reportError" in scala.io.Source
code
  [..]
  /** reports an error message to console */
  def reportError(pos: Int, msg: String): Unit = {
    report(pos, msg, java.lang.System.out);
  }

  def reportError(pos: Int, msg: String, out: PrintStream): Unit = {
    nerrors = nerrors + 1;
    report(pos, msg, java.lang.System.out);
  }
what happened
All Scala 2.x : nerrors not incremented, output stream ignored
what expected
[back to overview]
Changes of this bug report
Stephane  edited on  2006-10-13 20:46:27.0