report

dotty.tools.dotc.report
object report

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
report.type

Members list

Value members

Concrete methods

def debuglog(msg: => String)(using Context): Unit
def debugwarn(msg: => String, pos: SrcPos)(using Context): Unit
def deprecationWarning(msg: Message, pos: SrcPos)(using Context): Unit
def echo(msg: => String, pos: SrcPos)(using Context): Unit
def enrichErrorMessage(errorMessage: String)(using Context): String
def error(msg: Message, pos: SrcPos)(using Context): Unit
def error(msg: => String, pos: SrcPos)(using Context): Unit
def error(msg: => String)(using Context): Unit
def error(ex: TypeError, pos: SrcPos)(using Context): Unit
def errorOrMigrationWarning(msg: Message, pos: SrcPos, migrationVersion: MigrationVersion)(using Context): Unit
def featureWarning(msg: Message, pos: SrcPos)(using Context): Unit
def featureWarning(feature: String, featureDescription: => String, featureUseSite: Symbol, required: Boolean, pos: SrcPos)(using Context): Unit
def incompleteInputError(msg: Message, pos: SrcPos)(using Context): Unit
def inform(msg: => String, pos: SrcPos)(using Context): Unit

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

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

Attributes

def informProgress(msg: => String)(using Context): Unit
def informTime(msg: => String, start: Long)(using Context): Unit
def log(msg: => String, pos: SrcPos)(using Context): Unit

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

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

Attributes

def logWith[T](msg: => String)(value: T)(using Context): T
def migrationWarning(msg: Message, pos: SrcPos)(using Context): Unit
def restrictionError(msg: Message, pos: SrcPos)(using Context): Unit
def uncheckedWarning(msg: Message, pos: SrcPos)(using Context): Unit
def warning(msg: Message, pos: SrcPos)(using Context): Unit
def warning(msg: Message)(using Context): Unit
def warning(msg: => String, pos: SrcPos)(using Context): Unit