blob: be91455ade445550385a4474045f286689987979 (
plain) (
tree)
|
|
package dotty.tools.dotc.config
object Printers {
class Printer {
def println(msg: => String): Unit = System.out.println(msg)
}
object noPrinter extends Printer {
override def println(msg: => String): Unit = ()
}
val default: Printer = new Printer
val core: Printer = noPrinter
val typr: Printer = new Printer
val constr: Printer = noPrinter
val checks: Printer = noPrinter
val overload: Printer = noPrinter
val implicits: Printer = noPrinter
val implicitsDetailed: Printer = noPrinter
val subtyping: Printer = new Printer
val unapp: Printer = noPrinter
val completions = noPrinter
val gadts = noPrinter
val hk = noPrinter
val variances = noPrinter
val incremental = noPrinter
val config = noPrinter
val transforms = noPrinter
val cyclicErrors = noPrinter
}
|