TryReporter

dotty.tools.dotc.transform.init.Semantic.TryReporter
trait TryReporter extends Reporter

A TryReporter cannot be simply thrown away

Either abort should be called or the errors be reported.

If errors are ignored and abort is not called, the monotonicity of the computation function is not guaranteed, thus termination of fixed-point computation becomes a problem.

Attributes

Graph
Supertypes
trait Reporter
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def abort()(using Data): Unit

Revert the cache to previous state.

Revert the cache to previous state.

Attributes

def errors: List[Error]

Inherited methods

def report(err: Error): Unit

Attributes

Inherited from:
Reporter
def reportAll(errs: Seq[Error]): Unit

Attributes

Inherited from:
Reporter