blob: 407e93714b8b8f65e96e3403810a242b68f5d507 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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 core: Printer = noPrinter
val typr: Printer = new Printer
val constr: Printer = new Printer
val overload: Printer = noPrinter
val implicits: Printer = noPrinter
val unapp: Printer = noPrinter
}
|