Dotty Documentation

0.6.0-bin-SNAPSHOT

trait Reporting
extends Object

[-] Constructors

[-] Members

[+] def debuglog ( msg: => String ) : Unit
[+] def debugwarn ( msg: => String , pos: SourcePosition ) : Unit
[+] def deprecationWarning ( msg: => Message , pos: SourcePosition ) : Unit
[+] def echo ( msg: => String , pos: SourcePosition ) : Unit
[+] def error ( msg: => Message , pos: SourcePosition ) : Unit
[+] def errorOrMigrationWarning ( msg: => Message , pos: SourcePosition ) : Unit
[+] def featureWarning ( msg: => Message , pos: SourcePosition ) : Unit
[+] def featureWarning ( feature: String , featureDescription: String , isScala2Feature: Boolean , featureUseSite: Symbol , required: Boolean , pos: SourcePosition ) : Unit
[+] def incompleteInputError ( msg: => Message , pos: SourcePosition ) ( implicit ctx: Context ) : Unit
[+] def inform ( msg: => String , pos: SourcePosition ) : Unit

For sending messages that are printed only if -verbose is set

[+] def informProgress ( msg: => String ) : Unit
[+] def informTime ( msg: => String , start: Long ) : Unit
[+] def log ( msg: => String , pos: SourcePosition ) : Unit

Log msg if settings.log contains the current phase. See [[config.CompilerCommand#explainAdvanced]] for the exact meaning of "contains" here.

[+] def logWith ( msg: => String ) ( value: T ) : T
[+] def migrationWarning ( msg: => Message , pos: SourcePosition ) : Unit
[+] def reportWarning ( warning: Warning ) : Unit
[+] def restrictionError ( msg: => Message , pos: SourcePosition ) : Unit
[+] def strictWarning ( msg: => Message , pos: SourcePosition ) : Unit
[+] def uncheckedWarning ( msg: => Message , pos: SourcePosition ) : Unit
[+] def warning ( msg: => Message , pos: SourcePosition ) : Unit