@@ -78,7 +78,7 @@ private newtype TAssocFunctionType =
7878 }
7979
8080bindingset [ condition, constraint, tp]
81- private Type traitConstraintTypeAt (
81+ private Type getTraitConstraintTypeAt (
8282 TypeMention condition , TypeMention constraint , TypeParameter tp , TypePath path
8383) {
8484 BaseTypes:: conditionSatisfiesConstraintTypeAt ( _, condition , constraint ,
@@ -90,7 +90,7 @@ private Type traitConstraintTypeAt(
9090 * `pos` at path `path`
9191 */
9292pragma [ nomagic]
93- Type assocFunctionTypeAt ( Function f , ImplOrTraitItemNode i , FunctionPosition pos , TypePath path ) {
93+ Type getAssocFunctionTypeAt ( Function f , ImplOrTraitItemNode i , FunctionPosition pos , TypePath path ) {
9494 exists ( MkAssocFunctionType ( f , i , pos ) ) and
9595 (
9696 // No specialization needed when the function is directly in the trait or
@@ -109,7 +109,7 @@ Type assocFunctionTypeAt(Function f, ImplOrTraitItemNode i, FunctionPosition pos
109109 exists ( TraitItemNode trait , TypeMention condition , TypeMention constraint |
110110 trait .getAnAssocItem ( ) = f and
111111 BaseTypes:: rootTypesSatisfaction ( _, TTrait ( trait ) , _, condition , constraint ) and
112- result = traitConstraintTypeAt ( condition , constraint , tp , suffix )
112+ result = getTraitConstraintTypeAt ( condition , constraint , tp , suffix )
113113 |
114114 condition = i .( Trait ) or condition = i .( Impl ) .getSelfTy ( )
115115 )
@@ -173,7 +173,7 @@ class AssocFunctionType extends MkAssocFunctionType {
173173 Type getTypeAt ( TypePath path ) {
174174 exists ( Function f , FunctionPosition pos , ImplOrTraitItemNode i , Type t |
175175 this .appliesTo ( f , i , pos ) and
176- t = assocFunctionTypeAt ( f , i , pos , path )
176+ t = getAssocFunctionTypeAt ( f , i , pos , path )
177177 |
178178 not t instanceof SelfTypeParameter and
179179 result = t
0 commit comments