KtForExpression(23,37): 'for(i in f) {}'
  KaForLoopCallResolutionAttempt:
    hasNextCallAttempt = KaCallResolutionError:
      candidateCalls = []
      diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'hasNext' on receiver of type 'Any'.>
    iteratorCallAttempt = KaCallResolutionError:
      candidateCalls = [
        KaSimpleFunctionCall:
          contextArgumentMapping = {}
          contextArguments = []
          dispatchReceiver = null
          extensionReceiver = KaExplicitReceiverValue:
            expression = f
            isSafeNavigation = false
            type = Foo
          signature = KaFunctionSignature:
            receiverType = kotlin.Int
            returnType = kotlin.Any
            symbol = /iterator(<extension receiver>: kotlin.Int): kotlin.Any
            valueParameters = []
            contextParameters = []
            callableId = /iterator
          typeArgumentsMapping = {}
          valueArgumentMapping = {}
      ]
      diagnostic = ERROR<UNRESOLVED_REFERENCE_WRONG_RECEIVER: Candidate 'fun Int.iterator(): Any' is inapplicable because of a receiver type mismatch.>
    nextCallAttempt = KaCallResolutionError:
      candidateCalls = []
      diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'next' on receiver of type 'Any'.>
