@@ -21,7 +21,7 @@ trait Substituters { this: Context =>
2121 .mapOver(tp)
2222 }
2323
24- final def subst1 (tp : Type , from : Symbol , to : Type , theMap : Subst1Map ): Type = {
24+ final def subst1 (tp : Type , from : Symbol , to : Type , theMap : Subst1Map ): Type =
2525 tp match {
2626 case tp : NamedType =>
2727 val sym = tp.symbol
@@ -34,9 +34,8 @@ trait Substituters { this: Context =>
3434 (if (theMap != null ) theMap else new Subst1Map (from, to))
3535 .mapOver(tp)
3636 }
37- }
3837
39- final def subst2 (tp : Type , from1 : Symbol , to1 : Type , from2 : Symbol , to2 : Type , theMap : Subst2Map ): Type = {
38+ final def subst2 (tp : Type , from1 : Symbol , to1 : Type , from2 : Symbol , to2 : Type , theMap : Subst2Map ): Type =
4039 tp match {
4140 case tp : NamedType =>
4241 val sym = tp.symbol
@@ -50,9 +49,8 @@ trait Substituters { this: Context =>
5049 (if (theMap != null ) theMap else new Subst2Map (from1, to1, from2, to2))
5150 .mapOver(tp)
5251 }
53- }
5452
55- final def subst (tp : Type , from : List [Symbol ], to : List [Type ], theMap : SubstMap ): Type = {
53+ final def subst (tp : Type , from : List [Symbol ], to : List [Type ], theMap : SubstMap ): Type =
5654 tp match {
5755 case tp : NamedType =>
5856 val sym = tp.symbol
@@ -71,7 +69,6 @@ trait Substituters { this: Context =>
7169 (if (theMap != null ) theMap else new SubstMap (from, to))
7270 .mapOver(tp)
7371 }
74- }
7572
7673 final def substSym (tp : Type , from : List [Symbol ], to : List [Symbol ], theMap : SubstSymMap ): Type =
7774 tp match {
0 commit comments