Dotty Documentation

0.14.0-bin-SNAPSHOT

class Errors
extends Object

[-] Constructors

Errors ( )
Errors ( implicit ctx: Context )

[-] Members

[+] private implicit val ctx : Context
[+] def abstractVarMessage ( sym: Symbol ) : String

An explanatory note to be added to error messages when there's a problem with abstract var defs

[+] def anonymousTypeMemberStr ( tpe: Type ) : String
[+] def denotStr ( denot: Denotation ) : String
[+] def expectedTypeStr ( tp: Type ) : String
[+] def exprStr ( tree: Tree ) : String
[+] def overloadedAltsStr ( alts: List [ SingleDenotation ] ) : String
[+] def patternConstrStr ( tree: Tree ) : String
[+] def refStr ( tp: Type ) : String
[+] def takesNoParamsStr ( tree: Tree , kind: String ) : String
[+] def typeMismatch ( tree: Tree , pt: Type , implicitFailure: SearchFailureType ) : Tree
[+] def typeMismatch$default$3 : NoMatchingImplicits.type
[+] def typeMismatchMsg ( found: Type , expected: Type , postScript: String ) : TypeMismatch
[+] def typeMismatchMsg$default$3 : String
[+] def userDefinedErrorString ( raw: String , paramNames: List [ String ] , args: List [ Type ] ) : String

Format raw implicitNotFound or implicitAmbiguous argument, replacing all occurrences of ${X} where X is in paramNames with the corresponding shown type in args.

[+] def whyNoMatchStr ( found: Type , expected: Type ) : String

A subtype log explaining why found does not conform to expected