Scala Compiler 2.13.16 - scala.tools.nsc.typechecker.ContextErrors
Keywords: Scala Compiler 2.13.16 scala.tools.nsc.typechecker.ContextErrors

Scala Compiler2.13.16 < Back


# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package typechecker
  Definition Classes
    nsc
-  package splain
  Definition Classes
    typechecker
- Adaptations
- Analyzer
- AnalyzerPlugins
- Checkable
- ConstantFolder
- ContextErrors
- ContextMode
- Contexts
- DestructureTypes
- Duplicators
- EtaExpansion
- Fingerprint
- Implicits
- ImplicitsStats
- ImportTracking
- Infer
- MacroAnnotationAttachments
- MacroAnnotationNamers
- Macros
- MacrosStats
- MethodSynthesis
- Namers
- NamesDefaults
- PatternTypers
- RefChecks
- StdAttachments
- StructuredTypeStrings
- SuperAccessors
- SyntheticMethods
- Tags
- TreeCheckers
- TypeDiagnostics
- TypeStrings
- Typers
- TypersStats
- TypersTracking
- Unapplies

t

scala.tools.nsc.typechecker

# ContextErrors

###

#### trait ContextErrors extends SplainErrors

Self Type
  Analyzer
Source
  ContextErrors.scala

Linear Supertypes
SplainErrors, AnyRef, Any
Known Subclasses
erasure, treeChecker, ScaladocAnalyzer, InteractiveAnalyzer, Erasure, Duplicator, SpecializationDuplicator, Analyzer, Duplicators, TreeCheckers
Type Hierarchy

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. ContextErrors
2. SplainErrors
3. AnyRef
4. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Type Members

1.  abstract class AbsAmbiguousTypeError extends Analyzer.AbsTypeError
2.  sealed abstract class AbsTypeError extends AnyRef
3.  case class AccessTypeError(underlyingTree: Global.Tree, errMsg: String) extends Analyzer.TreeTypeError with Product with Serializable
4.  case class AmbiguousImplicitTypeError(underlyingTree: Global.Tree, errMsg: String) extends Analyzer.AbsAmbiguousTypeError with Product with Serializable
5.  case class AmbiguousTypeError(errPos: Global.Position, errMsg: String) extends Analyzer.AbsAmbiguousTypeError with Product with Serializable
6.  final case class ContextWarning(pos: Global.Position, msg: String, cat: WarningCategory, sym: Global.Symbol, actions: List[CodeAction]) extends Product with Serializable
7.  case class DivergentImplicitTypeError(underlyingTree: Global.Tree, pt0: Global.Type, sym: Global.Symbol) extends Analyzer.TreeTypeError with Product with Serializable
8.  trait ImplicitsContextErrors extends AnyRef
9.  trait InferencerContextErrors extends AnyRef
10.  trait NamerContextErrors extends AnyRef
11.  case class NormalTypeError(underlyingTree: Global.Tree, errMsg: String, actions: List[CodeAction] = Nil) extends Analyzer.TreeTypeError with Product with Serializable
12.  case class PosAndMsgTypeError(errPos: Global.Position, errMsg: String) extends Analyzer.AbsTypeError with Product with Serializable
13.  case class SymbolTypeError(underlyingSym: Global.Symbol, errMsg: String) extends Analyzer.AbsTypeError with Product with Serializable
14.  sealed abstract class TreeTypeError extends Analyzer.AbsTypeError
15.  case class TypeErrorWithUnderlyingTree(tree: Global.Tree, ex: Global.TypeError) extends Analyzer.AbsTypeError with Product with Serializable
16.  case class TypeErrorWrapper(ex: Global.TypeError, actions: List[CodeAction] = Nil) extends Analyzer.AbsTypeError with Product with Serializable
17.  trait TyperContextErrors extends AnyRef

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from ContextErrors toany2stringadd[ContextErrors] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (ContextErrors, B)
   Implicit
     This member is added by an implicit conversion from ContextErrors toArrowAssoc[ContextErrors] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  def MacroCantExpand210xMacrosError(internalMessage: String): Nothing
7.  def MacroCantExpandIncompatibleMacrosError(internalMessage: String): Nothing
8.  def NoImplicitFoundAnnotation(tree: Global.Tree, param: Global.Symbol): (Boolean, String)

   The implicit not found message from the annotation, and whether it's a supplement message or not.

9.  def NoImplicitFoundError(tree: Global.Tree, param: Global.Symbol)(implicit context: Analyzer.Context): Unit
10.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
11.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.CloneNotSupportedException]) @native()
12.  def ensuring(cond: (ContextErrors) => Boolean, msg: => Any): ContextErrors
    Implicit
      This member is added by an implicit conversion from ContextErrors toEnsuring[ContextErrors] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
13.  def ensuring(cond: (ContextErrors) => Boolean): ContextErrors
    Implicit
      This member is added by an implicit conversion from ContextErrors toEnsuring[ContextErrors] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
14.  def ensuring(cond: Boolean, msg: => Any): ContextErrors
    Implicit
      This member is added by an implicit conversion from ContextErrors toEnsuring[ContextErrors] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
15.  def ensuring(cond: Boolean): ContextErrors
    Implicit
      This member is added by an implicit conversion from ContextErrors toEnsuring[ContextErrors] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
16.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
17.  def equals(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef → Any
18.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
19.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
20.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
21.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
22.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
23.  def notAnyRefMessage(found: Global.Type): String
24.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
25.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
26.  def splainPushImplicitSearchFailure(implicitTree: Global.Tree, expectedType: Global.Type, originalError: Analyzer.AbsTypeError): Unit
    Definition Classes
      SplainErrors
27.  def splainPushNonconformantBonds(tpe: Global.Type, candidate: Global.Tree, targs: List[Global.Type], tparams: List[Global.Symbol], originalError: Option[Analyzer.AbsTypeError]): Unit
    Definition Classes
      SplainErrors
28.  def splainPushNotFound(tree: Global.Tree, param: Global.Symbol): Unit
    Definition Classes
      SplainErrors
29.  def splainPushOrReportNotFound(tree: Global.Tree, param: Global.Symbol, annotationMsg: String): String
    Definition Classes
      SplainErrors
30.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
31.  def toString(): String
    Definition Classes
      AnyRef → Any
32.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
33.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
34.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()
35.  object ErrorUtils
36.  object NamesDefaultsErrorsGen

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from ContextErrors toStringFormat[ContextErrors] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

2.  def →[B](y: B): (ContextErrors, B)
   Implicit
     This member is added by an implicit conversion from ContextErrors toArrowAssoc[ContextErrors] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use `->` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

### Inherited from SplainErrors

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd fromContextErrors to any2stringadd[ContextErrors]

### Inherited by implicit conversion StringFormat fromContextErrors to StringFormat[ContextErrors]

### Inherited by implicit conversion Ensuring fromContextErrors to Ensuring[ContextErrors]

### Inherited by implicit conversion ArrowAssoc fromContextErrors to ArrowAssoc[ContextErrors]

### Ungrouped