KtForExpression(23,37): 'for(i in f) {}'
  KaForLoopCallResolutionAttempt:
    hasNextCallAttempt = KaCallResolutionSuccess:
      call = KaSimpleFunctionCall:
        contextArgumentMapping = {}
        contextArguments = []
        dispatchReceiver = KaExplicitReceiverValue:
          expression = f
          isSafeNavigation = false
          type = Iterator
        extensionReceiver = null
        signature = KaFunctionSignature:
          receiverType = null
          returnType = kotlin.Boolean
          symbol = /Iterator.hasNext(<dispatch receiver>: Iterator): kotlin.Boolean
          valueParameters = []
          contextParameters = []
          callableId = /Iterator.hasNext
        typeArgumentsMapping = {}
        valueArgumentMapping = {}
    iteratorCallAttempt = KaCallResolutionSuccess:
      call = KaSimpleFunctionCall:
        contextArgumentMapping = {}
        contextArguments = []
        dispatchReceiver = KaExplicitReceiverValue:
          expression = f
          isSafeNavigation = false
          type = Foo
        extensionReceiver = null
        signature = KaFunctionSignature:
          receiverType = null
          returnType = Iterator
          symbol = /Foo.iterator(<dispatch receiver>: Foo): Iterator
          valueParameters = []
          contextParameters = []
          callableId = /Foo.iterator
        typeArgumentsMapping = {}
        valueArgumentMapping = {}
    nextCallAttempt = KaCallResolutionError:
      candidateCalls = [
        KaSimpleFunctionCall:
          contextArgumentMapping = {}
          contextArguments = []
          dispatchReceiver = null
          extensionReceiver = KaExplicitReceiverValue:
            expression = f
            isSafeNavigation = false
            type = Iterator
          signature = KaFunctionSignature:
            receiverType = kotlin.Int
            returnType = kotlin.Any
            symbol = /next(<extension receiver>: kotlin.Int): kotlin.Any
            valueParameters = []
            contextParameters = []
            callableId = /next
          typeArgumentsMapping = {}
          valueArgumentMapping = {},
        KaSimpleFunctionCall:
          contextArgumentMapping = {}
          contextArguments = []
          dispatchReceiver = null
          extensionReceiver = KaExplicitReceiverValue:
            expression = f
            isSafeNavigation = false
            type = Iterator
          signature = KaFunctionSignature:
            receiverType = kotlin.String
            returnType = kotlin.Any
            symbol = /next(<extension receiver>: kotlin.String): kotlin.Any
            valueParameters = []
            contextParameters = []
            callableId = /next
          typeArgumentsMapping = {}
          valueArgumentMapping = {}
      ]
      diagnostic = ERROR<NONE_APPLICABLE: None of the following candidates is applicable:

      fun Int.next(): Any:
        Candidate 'fun Int.next(): Any' is inapplicable because of a receiver type mismatch.

      fun String.next(): Any:
        Candidate 'fun String.next(): Any' is inapplicable because of a receiver type mismatch.>
