KtForExpression(23,37): 'for(i in f) {}'
  KaApplicableCallCandidate:
    candidate = 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 = {}
    isInBestCandidates = true

  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = f
        isSafeNavigation = false
        type = Iterator
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Any
        symbol = /Iterator.next(<dispatch receiver>: Iterator): kotlin.Any
        valueParameters = []
        contextParameters = []
        callableId = /Iterator.next
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = KaExplicitReceiverValue:
        expression = f
        isSafeNavigation = false
        type = Iterator
      signature = KaFunctionSignature:
        receiverType = kotlin.Int
        returnType = kotlin.Boolean
        symbol = /hasNext(<extension receiver>: kotlin.Int): kotlin.Boolean
        valueParameters = []
        contextParameters = []
        callableId = /hasNext
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    diagnostic = ERROR<UNRESOLVED_REFERENCE_WRONG_RECEIVER: Candidate 'fun Int.hasNext(): Boolean' is inapplicable because of a receiver type mismatch.>
    isInBestCandidates = true
