Scala Compiler2.13.4 < 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 AnyRef
  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): Global.Tree
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 CyclicReferenceError(errPos: Global.Position, tp: Global.Type, lockedSym: Global.Symbol): Unit
32.  def DefDefinedTwiceError(sym0: Global.Symbol, sym1: Global.Symbol): Unit
33.  def DependentMethodTpeConversionToFunctionError(tree: Global.Tree, tp: Global.Type): Global.Tree
34.  def DeprecatedParamNameError(param: Global.Symbol, name: Global.Name): Unit
35.  def DoesNotConformToSelfTypeError(tree: Global.Tree, sym: Global.Symbol, tpe0: Global.Type): Global.Tree
36.  def DoesNotExtendAnnotation(tree: Global.Tree, sym: Global.Symbol): Analyzer.NormalTypeError
37.  def DuplicateValueAnnotationError(tree: Global.Tree, name: Global.Name): Analyzer.NormalTypeError
38.  def DynamicRewriteError(tree: Global.Tree, err: Analyzer.AbsTypeError): Global.Tree
39.  def DynamicVarArgUnsupported(tree: Global.Tree, name: Global.Name): Global.Tree
40.  def FinitaryError(tparam: Global.Symbol): Unit
41.  def HiddenSymbolWithError[T <: Global.Tree](tree: T): T
42.  def InferTypeWithVolatileTypeSelectionError(tree: Global.Tree, pre: Global.Type): Unit
43.  def InvalidConstructorDefError(ddef: Global.Tree): Unit
44.  def IsAbstractError(tree: Global.Tree, sym: Global.Symbol): Global.Tree
45.  def KindArityMismatchError(tree: Global.Tree, pt: Global.Type): Global.Tree
46.  def LocalVarUninitializedError(vdef: Global.Tree): Unit
47.  def LowerBoundError(tree: Global.TypeDef, lowB: Global.Type, highB: Global.Type): Unit
48.  def MacroAnnotationCannotBeInheritedError(clazz: Global.Symbol): Unit
49.  def MacroAnnotationCannotBeMemberError(clazz: Global.Symbol): Unit
50.  def MacroAnnotationMustBeStaticError(clazz: Global.Symbol): Unit
51.  def MacroAnnotationNotExpandedMessage: String
52.  def MacroAnnotationOnlyDefinitionError(ann: Global.Tree): Unit
53.  def MacroAnnotationShapeError(clazz: Global.Symbol): Unit
54.  def MacroAnnotationTopLevelClassWithCompanionBadExpansion(ann: Global.Tree): Unit
55.  def MacroAnnotationTopLevelClassWithoutCompanionBadExpansion(ann: Global.Tree): Unit
56.  def MacroAnnotationTopLevelModuleBadExpansion(ann: Global.Tree): Unit
57.  def MacroEtaError(tree: Global.Tree): Global.Tree
58.  def MacroExpansionHasInvalidTypeError(expandee: Global.Tree, expanded: Any): Nothing
59.  def MacroFreeSymbolError(expandee: Global.Tree, sym: Global.FreeSymbol): Nothing
60.  def MacroGeneratedAbort(expandee: Global.Tree, ex: AbortMacroException): Nothing
61.  def MacroGeneratedException(expandee: Global.Tree, ex: Throwable): Nothing
62.  def MacroGeneratedTypeError(expandee: Global.Tree, err: Global.TypeError = null): Nothing
63.  def MacroImplementationNotFoundError(expandee: Global.Tree): Nothing
64.  def MacroTooFewArgumentListsError(expandee: Global.Tree): Nothing
65.  def MacroTooFewArgumentsError(expandee: Global.Tree): Nothing
66.  def MacroTooManyArgumentListsError(expandee: Global.Tree): Nothing
67.  def MacroTooManyArgumentListsError(expandee: Global.Tree, fun: Global.Symbol): Analyzer.NormalTypeError
68.  def MacroTooManyArgumentsError(expandee: Global.Tree): Nothing
69.  def MaxFunctionArityError(fun: Global.Tree, why: String): Global.Tree
70.  def MissingArgsForMethodTpeError(tree: Global.Tree, meth: Global.Symbol): Global.Tree
71.  def MissingClassTagError(tree: Global.Tree, tp: Global.Type): Global.Tree
72.  def MissingParameterTypeAnonMatchError(vparam: Global.Tree, pt: Global.Type): Unit
73.  def MissingParameterTypeError(fun: Global.Tree, vparam: Global.ValDef, pt: Global.Type, withTupleAddendum: Boolean): Unit
74.  def MissingTypeArgumentsParentTpeError(supertpt: Global.Tree): Unit
75.  def MissingTypeParametersError(tree: Global.Tree): Global.Tree
76.  def MixinMissingParentClassNameError(tree: Global.Tree, mix: Global.Name, clazz: Global.Symbol): Unit
77.  def ModuleUsingCompanionClassDefaultArgsError(tree: Global.Tree): Analyzer.NormalTypeError
78.  def MultipleArgumentListForAnnotationError(tree: Global.Tree): Analyzer.NormalTypeError
79.  def MultipleVarargError(tree: Global.Tree): Analyzer.NormalTypeError
80.  def NamedAndDefaultArgumentsNotSupportedForMacros(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError
81.  def NestedAnnotationError(tree: Global.Tree, annType: Global.Type): Analyzer.NormalTypeError
82.  def NotAMemberError(sel: Global.Tree, qual: Global.Tree, name: Global.Name, cx: Analyzer.Context): Unit
83.  def NotAValueError(tree: Global.Tree, sym: Global.Symbol): Global.Tree
84.  def NotEnoughArgsError(tree: Global.Tree, fun: Global.Tree, missing: List[Global.Symbol]): Analyzer.NormalTypeError
85.  def OnlyDeclarationsError(tree: Global.Tree): Global.Tree
86.  def OverloadedUnapplyError(tree: Global.Tree): Unit
87.  def ParentFinalInheritanceError(parent: Global.Tree, mixin: Global.Symbol): Analyzer.NormalTypeError
88.  def ParentInheritedTwiceError(parent: Global.Tree, parentSym: Global.Symbol): Analyzer.NormalTypeError
89.  def ParentIsScala3TraitError(parent: Global.Tree, parentSym: Global.Symbol, params: List[Global.Symbol], mixin: Global.Symbol): Analyzer.NormalTypeError
90.  def ParentNotATraitMixinError(parent: Global.Tree, mixin: Global.Symbol): Analyzer.NormalTypeError
91.  def ParentSelfTypeConformanceError(parent: Global.Tree, selfType: Global.Type): Analyzer.NormalTypeError
92.  def ParentSuperSubclassError(parent: Global.Tree, superclazz: Global.Symbol, parentSym: Global.Symbol, mixin: Global.Symbol): Analyzer.NormalTypeError
93.  def ParentTypesError(templ: Global.Template, ex: Global.TypeError): Global.Template
94.  def PatternMustBeValue(pat: Global.Tree, pt: Global.Type): Unit
95.  def QualifyingClassError(tree: Global.Tree, qual: Global.Name): Unit
96.  def ReturnOutsideOfDefError(tree: Global.Tree): Global.Tree
97.  def ReturnWithoutTypeError(tree: Global.Tree, owner: Global.Symbol): Global.Tree
98.  def SelectWithUnderlyingError(sel: Global.Tree, err: Analyzer.AbsTypeError): Global.Tree
99.  def SelfConstrArgsThisReferenceError(tree: Global.Tree): Analyzer.NormalTypeError
100.  def StarParamNotLastError(param: Global.Tree): Unit
101.  def StarPatternWithVarargParametersError(tree: Global.Tree): Unit
102.  def StarPositionInPatternError(tree: Global.Tree): Unit
103.  def StarWithDefaultError(meth: Global.Symbol): Unit
104.  def SuperConstrArgsThisReferenceError(tree: Global.Tree): Analyzer.NormalTypeError
105.  def SuperConstrReferenceError(tree: Global.Tree): Analyzer.NormalTypeError
106.  def SymbolEscapesScopeError[T <: Global.Tree](tree: T, badSymbol: Global.Symbol): T
107.  def SymbolNotFoundError(tree: Global.Tree, name: Global.Name, owner: Global.Symbol, startingIdentCx: Analyzer.Context): Analyzer.NormalTypeError
108.  def TooManyArgsNamesDefaultsError(tree: Global.Tree, fun: Global.Tree, formals: List[Global.Type], args: List[Global.Tree], argPos: Array[Int]): Analyzer.NormalTypeError
109.  def TooManyArgsPatternError(fun: Global.Tree): Unit
110.  def TooManyArgumentListsForConstructor(tree: Global.Tree): Global.Tree
111.  def TypeNotAStablePrefixError(tpt: Global.Tree, pre: Global.Type): Global.Tree
112.  def TypeSelectionFromVolatileTypeError(tree: Global.Tree, qual: Global.Tree): Global.Tree
113.  def TypedApplyDoesNotTakeTpeParametersError(tree: Global.Tree, fun: Global.Tree): Global.Tree
114.  def TypedApplyWrongNumberOfTpeParametersError(tree: Global.Tree, fun: Global.Tree): Global.Tree
115.  def UnapplyWithSingleArgError(tree: Global.Tree): Unit
116.  def UnderscoreEtaError(tree: Global.Tree): Global.Tree
117.  def UnderscoreNullaryEtaError(tree: Global.Tree): Global.Tree
118.  final val UnderscoreNullaryEtaErrorMsg: String
119.  final val UnderscoreNullaryEtaWarnMsg: String
120.  def UnexpectedTreeAnnotationError(tree: Global.Tree, unexpected: Global.Tree): Analyzer.NormalTypeError
121.  def UnexpectedTreeAssignmentConversionError(tree: Global.Tree): Global.Tree
122.  def UnknownAnnotationNameError(tree: Global.Tree, name: Global.Name): Analyzer.NormalTypeError
123.  def UnstableTreeError(tree: Global.Tree): Global.Tree
124.  def VariableInPatternAlternativeError(tree: Global.Tree): Unit
125.  def VolatileValueError(vdef: Global.Tree): Unit
126.  def WithFilterError(tree: Global.Tree, ex: Analyzer.AbsTypeError): Global.Tree
127.  def WrongNumberOfArgsError(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError
128.  def WrongShapeExtractorExpansion(fun: Global.Tree): Unit
129.  final def asInstanceOf[T0]: T0
     Definition Classes
       Any
130.  def clone(): AnyRef
     Attributes
       protected[lang]
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.CloneNotSupportedException]) @native()
131.  implicit val contextTyperErrorGen: Analyzer.Context
132.  final def eq(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef
133.  def equals(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef → Any
134.  def finalize(): Unit
     Attributes
       protected[lang]
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.Throwable])
135.  final def getClass(): Class[_ <: AnyRef]
     Definition Classes
       AnyRef → Any
     Annotations
       @native()
136.  def hashCode(): Int
     Definition Classes
       AnyRef → Any
     Annotations
       @native()
137.  final def isInstanceOf[T0]: Boolean
     Definition Classes
       Any
138.  def macroExpansionError(expandee: Global.Tree, msg: String, pos: Global.Position = NoPosition): Nothing
     Attributes
       protected
139.  final def ne(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef
140.  final def notify(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native()
141.  final def notifyAll(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native()
142.  final def synchronized[T0](arg0: => T0): T0
     Definition Classes
       AnyRef
143.  def toString(): String
     Definition Classes
       AnyRef → Any
144.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.InterruptedException])
145.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.InterruptedException])
146.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws(classOf[java.lang.InterruptedException]) @native()
147.  case object MacroExpansionException extends ControlThrowable with Product with Serializable

### Inherited from AnyRef

### Inherited from Any

### Ungrouped