Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
21 lines (16 sloc) 0.444 kb
/* NSC -- new Scala compiler
* Copyright 2005-2013 LAMP/EPFL
* @author Martin Odersky
*/
package scala.tools.nsc
import settings.MutableSettings
/** A compatibility stub.
*/
class Settings(errorFn: String => Unit) extends MutableSettings(errorFn) {
def this() = this(Console.println)
override def withErrorFn(errorFn: String => Unit): Settings = {
val settings = new Settings(errorFn)
copyInto(settings)
settings
}
}
Jump to Line
Something went wrong with that request. Please try again.