@@ -2521,7 +2521,7 @@ private module AssocFunctionResolution {
25212521 ) {
25222522 exists ( CallDerefCand cdc , TypePath exprPath |
25232523 cdc = MkCallDerefCand ( afc , selfPos , derefChain ) and
2524- CallSatisfiesDerefConstraint:: satisfiesConstraintTypeThrough ( cdc , impl , _, exprPath , result ) and
2524+ CallSatisfiesDerefConstraint:: satisfiesConstraintThrough ( cdc , impl , _, exprPath , result ) and
25252525 exprPath .isCons ( getDerefTargetTypeParameter ( ) , path )
25262526 )
25272527 }
@@ -3623,7 +3623,7 @@ private module AwaitSatisfiesType = SatisfiesType<AwaitTarget, AwaitSatisfiesTyp
36233623pragma [ nomagic]
36243624private Type inferAwaitExprType ( AstNode n , TypePath path ) {
36253625 exists ( TypePath exprPath |
3626- AwaitSatisfiesType:: satisfiesConstraintType ( n .( AwaitExpr ) .getExpr ( ) , _, exprPath , result ) and
3626+ AwaitSatisfiesType:: satisfiesConstraint ( n .( AwaitExpr ) .getExpr ( ) , _, exprPath , result ) and
36273627 exprPath .isCons ( getFutureOutputTypeParameter ( ) , path )
36283628 )
36293629}
@@ -3790,7 +3790,7 @@ private Type inferForLoopExprType(AstNode n, TypePath path) {
37903790 // type of iterable -> type of pattern (loop variable)
37913791 exists ( ForExpr fe , TypePath exprPath , AssociatedTypeTypeParameter tp |
37923792 n = fe .getPat ( ) and
3793- ForIterableSatisfiesType:: satisfiesConstraintType ( fe .getIterable ( ) , _, exprPath , result ) and
3793+ ForIterableSatisfiesType:: satisfiesConstraint ( fe .getIterable ( ) , _, exprPath , result ) and
37943794 exprPath .isCons ( tp , path )
37953795 |
37963796 tp = getIntoIteratorItemTypeParameter ( )
0 commit comments