File tree 1 file changed +4
-4
lines changed
src/compiler/scala/tools/nsc/typechecker 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ trait ContextErrors {
90
90
import infer .setError
91
91
92
92
object TyperErrorGen {
93
- implicit val context0 : Context = infer.getContext
93
+ implicit val contextTyperErrorGen : Context = infer.getContext
94
94
95
95
def UnstableTreeError (tree : Tree ) = {
96
96
def addendum = {
@@ -637,7 +637,7 @@ trait ContextErrors {
637
637
638
638
object InferErrorGen {
639
639
640
- implicit val context0 = getContext
640
+ implicit val contextInferErrorGen = getContext
641
641
642
642
object PolyAlternativeErrorKind extends Enumeration {
643
643
type ErrorType = Value
@@ -823,7 +823,7 @@ trait ContextErrors {
823
823
824
824
object NamerErrorGen {
825
825
826
- implicit val context0 = context
826
+ implicit val contextNamerErrorGen = context
827
827
828
828
object SymValidateErrors extends Enumeration {
829
829
val ImplicitConstr, ImplicitNotTermOrClass, ImplicitAtToplevel ,
@@ -858,7 +858,7 @@ trait ContextErrors {
858
858
case CyclicReference (sym, info : TypeCompleter ) =>
859
859
issueNormalTypeError(tree, typer.cyclicReferenceMessage(sym, info.tree) getOrElse ex.getMessage())
860
860
case _ =>
861
- context0 .issue(TypeErrorWithUnderlyingTree (tree, ex))
861
+ contextNamerErrorGen .issue(TypeErrorWithUnderlyingTree (tree, ex))
862
862
}
863
863
}
864
864
You can’t perform that action at this time.
0 commit comments