Scala Compiler2.13.15 < 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
-  trait ContextErrors extends SplainErrors
  Definition Classes
    typechecker
-  trait TyperContextErrors extends AnyRef
  Definition Classes
    ContextErrors
- TyperErrorGen

o

scala.tools.nsc.typechecker.ContextErrors.TyperContextErrors

# TyperErrorGen

###

#### object TyperErrorGen

Source
  ContextErrors.scala

Linear Supertypes
AnyRef, Any

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. TyperErrorGen
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  def AbstractExistentiallyOverParamerizedTpeError(tree: Global.Tree, tp: Global.Type): Unit
5.  def AbstractionFromVolatileTypeError(vd: Global.ValDef): Unit
6.  def AdaptTypeError(tree: Global.Tree, found: Global.Type, req: Global.Type): Global.Tree
7.  def AmbiguousIdentError(tree: Global.Tree, name: Global.Name, msg: String): Analyzer.NormalTypeError
8.  def AmbiguousParentClassError(tree: Global.Tree): Unit
9.  def AnnotationArgNullError(tree: Global.Tree): Analyzer.NormalTypeError
10.  def AnnotationMissingArgError(tree: Global.Tree, annType: Global.Type, sym: Global.Symbol): Analyzer.NormalTypeError
11.  def AnnotationNotAConstantError(tree: Global.Tree): Analyzer.NormalTypeError
12.  def AnnotationTypeMismatchError(tree: Global.Tree, expected: Global.Type, found: Global.Type): Analyzer.NormalTypeError
13.  def AppliedTypeNoParametersError(tree: Global.Tree, errTpe: Global.Type): Global.Tree
14.  def AppliedTypeWrongNumberOfArgsError(tree: Global.Tree, tpt: Global.Tree, tparams: List[Global.Symbol]): Global.Tree
15.  def ApplyWithoutArgsError(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError
16.  def ArrayConstantsError(tree: Global.Tree): Analyzer.NormalTypeError
17.  def ArrayConstantsTypeMismatchError(tree: Global.Tree, pt: Global.Type): Analyzer.NormalTypeError
18.  def AssignmentError(tree: Global.Tree, varSym: Global.Symbol): Global.Tree
19.  def AuxConstrInConstantAnnotation(constr: Global.Tree, clazz: Global.Symbol): Unit
20.  def BlackboxExtractorExpansion(fun: Global.Tree): Unit
21.  def CaseClassConstructorError(tree: Global.Tree, baseMessage: String): Global.Tree
22.  def ClassTypeRequiredError(tree: Global.Tree, found: AnyRef): tree.type
23.  def ClassfileAnnotationsAsNamedArgsError(tree: Global.Tree): Analyzer.NormalTypeError
24.  def ConstantAnnotationNeedsSingleArgumentList(constr: Global.Tree, clazz: Global.Symbol): Unit
25.  def ConstrArgsInParentOfTraitError(arg: Global.Tree, parent: Global.Symbol): Unit
26.  def ConstrArgsInParentWhichIsTraitError(arg: Global.Tree, parent: Global.Symbol): Unit
27.  def ConstructorPrefixError(tree: Global.Tree, restpe: Global.Type): Global.Tree
28.  def ConstructorRecursesError(tree: Global.Tree): Global.Tree
29.  def ConstructorsOrderError(tree: Global.Tree): Global.Tree
30.  def CyclicAliasingOrSubtypingError(errPos: Global.Position, sym0: Global.Symbol): Unit
31.  def DefDefinedTwiceError(sym0: Global.Symbol, sym1: Global.Symbol): Unit
32.  def DeprecatedParamNameError(param: Global.Symbol, name: Global.Name): Unit
33.  def DoesNotConformToSelfTypeError(tree: Global.Tree, sym: Global.Symbol, tpe0: Global.Type): Global.Tree
34.  def DoesNotExtendAnnotation(tree: Global.Tree, sym: Global.Symbol): Analyzer.NormalTypeError
35.  def DuplicateValueAnnotationError(tree: Global.Tree, name: Global.Name): Analyzer.NormalTypeError
36.  def DynamicRewriteError(tree: Global.Tree, err: Analyzer.AbsTypeError): Global.Tree
37.  def DynamicVarArgUnsupported(tree: Global.Tree, name: Global.Name): Global.Tree
38.  def FinitaryError(tparam: Global.Symbol): Unit
39.  def HiddenSymbolWithError[T <: Global.Tree](tree: T): T
40.  def InferTypeWithVolatileTypeSelectionError(tree: Global.Tree, pre: Global.Type): Unit
41.  def InferredImplicitError(tree: Global.Tree, inferred: Global.Type, cx: Analyzer.Context): Unit
42.  def InvalidConstructorDefError(ddef: Global.Tree): Unit
43.  def IsAbstractError(tree: Global.Tree, sym: Global.Symbol): Global.Tree
44.  def KindArityMismatchError(tree: Global.Tree, pt: Global.Type): Global.Tree
45.  def LocalVarUninitializedError(vdef: Global.Tree): Unit
46.  def LowerBoundError(tree: Global.TypeDef, lowB: Global.Type, highB: Global.Type): Unit
47.  def MacroAnnotationCannotBeInheritedError(clazz: Global.Symbol): Unit
48.  def MacroAnnotationCannotBeMemberError(clazz: Global.Symbol): Unit
49.  def MacroAnnotationMustBeStaticError(clazz: Global.Symbol): Unit
50.  def MacroAnnotationNotExpandedMessage: String
51.  def MacroAnnotationOnlyDefinitionError(ann: Global.Tree): Unit
52.  def MacroAnnotationShapeError(clazz: Global.Symbol): Unit
53.  def MacroAnnotationTopLevelClassWithCompanionBadExpansion(ann: Global.Tree): Unit
54.  def MacroAnnotationTopLevelClassWithoutCompanionBadExpansion(ann: Global.Tree): Unit
55.  def MacroAnnotationTopLevelModuleBadExpansion(ann: Global.Tree): Unit
56.  def MacroEtaError(tree: Global.Tree): Global.Tree
57.  def MacroExpansionHasInvalidTypeError(expandee: Global.Tree, expanded: Any): Nothing
58.  def MacroFreeSymbolError(expandee: Global.Tree, sym: Global.FreeSymbol): Nothing
59.  def MacroGeneratedAbort(expandee: Global.Tree, ex: AbortMacroException): Nothing
60.  def MacroGeneratedException(expandee: Global.Tree, ex: Throwable): Nothing
61.  def MacroGeneratedTypeError(expandee: Global.Tree, err: Global.TypeError = null): Nothing
62.  def MacroImplementationNotFoundError(expandee: Global.Tree): Nothing
63.  def MacroTooFewArgumentListsError(expandee: Global.Tree): Nothing
64.  def MacroTooFewArgumentsError(expandee: Global.Tree): Nothing
65.  def MacroTooManyArgumentListsError(expandee: Global.Tree): Nothing
66.  def MacroTooManyArgumentListsError(expandee: Global.Tree, fun: Global.Symbol): Analyzer.NormalTypeError
67.  def MacroTooManyArgumentsError(expandee: Global.Tree): Nothing
68.  def MaxFunctionArityError(fun: Global.Tree, why: String): Global.Tree
69.  def MissingArgsForMethodTpeError(tree: Global.Tree, meth: Global.Symbol): Global.Tree
70.  def MissingClassTagError(tree: Global.Tree, tp: Global.Type): Global.Tree
71.  def MissingParameterTypeAnonMatchError(vparam: Global.Tree, pt: Global.Type): Unit
72.  def MissingParameterTypeError(fun: Global.Tree, vparam: Global.ValDef, pt: Global.Type, withTupleAddendum: Boolean): Unit
73.  def MissingTypeArgumentsParentTpeError(supertpt: Global.Tree): Unit
74.  def MissingTypeParametersError(tree: Global.Tree): Global.Tree
75.  def MixinMissingParentClassNameError(tree: Global.Tree, mix: Global.Name, clazz: Global.Symbol): Unit
76.  def ModuleUsingCompanionClassDefaultArgsError(tree: Global.Tree): Analyzer.NormalTypeError
77.  def MultipleArgumentListForAnnotationError(tree: Global.Tree): Analyzer.NormalTypeError
78.  def MultipleVarargError(tree: Global.Tree): Analyzer.NormalTypeError
79.  def NamedAndDefaultArgumentsNotSupportedForMacros(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError
80.  def NestedAnnotationError(tree: Global.Tree, annType: Global.Type): Analyzer.NormalTypeError
81.  def NotAMemberError(sel: Global.Tree, qual: Global.Tree, name: Global.Name, cx: Analyzer.Context): Unit
82.  def NotAValueError(tree: Global.Tree, sym: Global.Symbol): Global.Tree
83.  def NotEnoughArgsError(tree: Global.Tree, fun: Global.Tree, missing: List[Global.Symbol]): Analyzer.NormalTypeError
84.  def OnlyDeclarationsError(tree: Global.Tree): Global.Tree
85.  def OverloadedUnapplyError(tree: Global.Tree): Unit
86.  def ParentFinalInheritanceError(parent: Global.Tree, mixin: Global.Symbol): Analyzer.NormalTypeError
87.  def ParentInheritedTwiceError(parent: Global.Tree, parentSym: Global.Symbol): Analyzer.NormalTypeError
88.  def ParentIsScala3TraitError(parent: Global.Tree, parentSym: Global.Symbol, params: List[Global.Symbol], mixin: Global.Symbol): Analyzer.NormalTypeError
89.  def ParentNotATraitMixinError(parent: Global.Tree, mixin: Global.Symbol): Analyzer.NormalTypeError
90.  def ParentSelfTypeConformanceError(parent: Global.Tree, selfType: Global.Type): Analyzer.NormalTypeError
91.  def ParentSuperSubclassError(parent: Global.Tree, superclazz: Global.Symbol, parentSym: Global.Symbol, mixin: Global.Symbol): Analyzer.NormalTypeError
92.  def ParentTypesError(templ: Global.Template, ex: Global.TypeError): Global.Template
93.  def PatternMustBeValue(pat: Global.Tree, pt: Global.Type): Unit
94.  def QualifyingClassError(tree: Global.Tree, qual: Global.Name): Unit
95.  def ReturnOutsideOfDefError(tree: Global.Tree): Global.Tree
96.  def ReturnWithoutTypeError(tree: Global.Tree, owner: Global.Symbol): Global.Tree
97.  def SelectWithUnderlyingError(sel: Global.Tree, err: Analyzer.AbsTypeError): sel.type
98.  def SelfConstrArgsThisReferenceError(tree: Global.Tree): Analyzer.NormalTypeError
99.  def StarParamNotLastError(param: Global.Tree): Unit
100.  def StarPatternWithVarargParametersError(tree: Global.Tree): Unit
101.  def StarPositionInPatternError(tree: Global.Tree): Unit
102.  def StarWithDefaultError(meth: Global.Symbol): Unit
103.  def SuperConstrArgsThisReferenceError(tree: Global.Tree): Analyzer.NormalTypeError
104.  def SuperConstrReferenceError(tree: Global.Tree): Analyzer.NormalTypeError
105.  def SymbolEscapesScopeError[T <: Global.Tree](tree: T, badSymbol: Global.Symbol): T
106.  def SymbolNotFoundError(tree: Global.Tree, name: Global.Name, owner: Global.Symbol, inPattern: Boolean, hidden: Boolean): Analyzer.NormalTypeError
107.  def TooManyArgsNamesDefaultsError(tree: Global.Tree, fun: Global.Tree, formals: List[Global.Type], args: List[Global.Tree], argPos: Array[Int]): Analyzer.NormalTypeError
108.  def TooManyArgsPatternError(fun: Global.Tree): Unit
109.  def TooManyArgumentListsForConstructor(tree: Global.Tree): Global.Tree
110.  def TypeNotAStablePrefixError(tpt: Global.Tree, pre: Global.Type): tpt.type
111.  def TypeSelectionFromVolatileTypeError(tree: Global.Tree, qual: Global.Tree): Global.Tree
112.  def TypedApplyDoesNotTakeTpeParametersError(tree: Global.Tree, fun: Global.Tree): Global.Tree
113.  def TypedApplyWrongNumberOfTpeParametersError(tree: Global.Tree, fun: Global.Tree): Global.Tree
114.  def UnapplyWithSingleArgError(tree: Global.Tree): Unit
115.  def UnderscoreEtaError(tree: Global.Tree): Global.Tree
116.  def UnexpectedTreeAnnotationError(tree: Global.Tree, unexpected: Global.Tree): Analyzer.NormalTypeError
117.  def UnexpectedTreeAssignmentConversionError(tree: Global.Tree): Global.Tree
118.  def UnknownAnnotationNameError(tree: Global.Tree, name: Global.Name): Analyzer.NormalTypeError
119.  def UnstableTreeError(tree: Global.Tree): tree.type
120.  def VariableInPatternAlternativeError(tree: Global.Tree): Unit
121.  def VolatileValueError(vdef: Global.Tree): Unit
122.  def WithFilterError(tree: Global.Tree, ex: Analyzer.AbsTypeError): Global.Tree
123.  def WrongNumberOfArgsError(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError
124.  def WrongShapeExtractorExpansion(fun: Global.Tree): Unit
125.  final def asInstanceOf[T0]: T0
     Definition Classes
       Any
126.  def clone(): AnyRef
     Attributes
       protected[lang]
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.CloneNotSupportedException]) @native()
127.  implicit val contextTyperErrorGen: Analyzer.Context
128.  final def eq(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef
129.  def equals(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef → Any
130.  def finalize(): Unit
     Attributes
       protected[lang]
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.Throwable])
131.  final def getClass(): Class[_ <: AnyRef]
     Definition Classes
       AnyRef → Any
     Annotations
       @native()
132.  def hashCode(): Int
     Definition Classes
       AnyRef → Any
     Annotations
       @native()
133.  final def isInstanceOf[T0]: Boolean
     Definition Classes
       Any
134.  def macroExpansionError(expandee: Global.Tree, msg: String, pos: Global.Position = NoPosition): Nothing
     Attributes
       protected
135.  final def ne(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef
136.  final def notify(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native()
137.  final def notifyAll(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native()
138.  final def synchronized[T0](arg0: => T0): T0
     Definition Classes
       AnyRef
139.  def toString(): String
     Definition Classes
       AnyRef → Any
140.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.InterruptedException])
141.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.InterruptedException])
142.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.InterruptedException]) @native()
143.  case object MacroExpansionException extends ControlThrowable with Product with Serializable

### Inherited from AnyRef

### Inherited from Any

### Ungrouped