KtDotQualifiedExpression(263,332): 'nums.withIndex().groupBy({ (_, value) -> value }) { (idx, _) -> idx }'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = KaExplicitReceiverValue:
        expression = nums.withIndex()
        isSafeNavigation = false
        type = kotlin.collections.Iterable<kotlin.collections.IndexedValue<kotlin.Int>>
      signature = KaFunctionSignature:
        receiverType = kotlin.collections.Iterable<kotlin.collections.IndexedValue<kotlin.Int>>
        returnType = kotlin.collections.Map<kotlin.Int, kotlin.collections.List<kotlin.Int>>
        symbol = kotlin/collections/groupBy(<extension receiver>: kotlin.collections.Iterable<T>, keySelector: (T) -> K, valueTransform: (T) -> V): kotlin.collections.Map<K, kotlin.collections.List<V>>
        valueParameters = [
          KaVariableSignature:
            name = keySelector
            receiverType = null
            returnType = (kotlin.collections.IndexedValue<kotlin.Int>) -> kotlin.Int
            symbol = keySelector: (T) -> K
            contextParameters = []
            callableId = null,
          KaVariableSignature:
            name = valueTransform
            receiverType = null
            returnType = (kotlin.collections.IndexedValue<kotlin.Int>) -> kotlin.Int
            symbol = valueTransform: (T) -> V
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/collections/groupBy
      typeArgumentsMapping = {
        T -> (kotlin.collections.IndexedValue<kotlin.Int>),
        K -> (kotlin.Int),
        V -> (kotlin.Int)
      }
      valueArgumentMapping = {
        { (_, value) -> value } -> (KaVariableSignature:
          name = keySelector
          receiverType = null
          returnType = (kotlin.collections.IndexedValue<kotlin.Int>) -> kotlin.Int
          symbol = keySelector: (T) -> K
          contextParameters = []
          callableId = null),
        { (idx, _) -> idx } -> (KaVariableSignature:
          name = valueTransform
          receiverType = null
          returnType = (kotlin.collections.IndexedValue<kotlin.Int>) -> kotlin.Int
          symbol = valueTransform: (T) -> V
          contextParameters = []
          callableId = null)
      }
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = KaExplicitReceiverValue:
        expression = nums.withIndex()
        isSafeNavigation = false
        type = kotlin.collections.Iterable<kotlin.collections.IndexedValue<kotlin.Int>>
      signature = KaFunctionSignature:
        receiverType = kotlin.collections.Iterable<kotlin.collections.IndexedValue<kotlin.Int>>
        returnType = kotlin.collections.Map<kotlin.Int, kotlin.collections.List<kotlin.collections.IndexedValue<kotlin.Int>>>
        symbol = kotlin/collections/groupBy(<extension receiver>: kotlin.collections.Iterable<T>, keySelector: (T) -> K): kotlin.collections.Map<K, kotlin.collections.List<T>>
        valueParameters = [
          KaVariableSignature:
            name = keySelector
            receiverType = null
            returnType = (kotlin.collections.IndexedValue<kotlin.Int>) -> kotlin.Int
            symbol = keySelector: (T) -> K
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/collections/groupBy
      typeArgumentsMapping = {
        T -> (kotlin.collections.IndexedValue<kotlin.Int>),
        K -> (kotlin.Int)
      }
      valueArgumentMapping = {
        { (_, value) -> value } -> (KaVariableSignature:
          name = keySelector
          receiverType = null
          returnType = (kotlin.collections.IndexedValue<kotlin.Int>) -> kotlin.Int
          symbol = keySelector: (T) -> K
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<TOO_MANY_ARGUMENTS: Too many arguments for 'fun <T, K> Iterable<T>.groupBy(keySelector: (T) -> K): Map<K, List<T>>'.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = KaExplicitReceiverValue:
        expression = nums.withIndex()
        isSafeNavigation = false
        type = kotlin.collections.Iterable<kotlin.collections.IndexedValue<kotlin.Int>>
      signature = KaFunctionSignature:
        receiverType = kotlin.collections.List<kotlin.Pair<kotlin.Int, kotlin.Int>>
        returnType = kotlin.collections.Map<kotlin.collections.IndexedValue<kotlin.Int>, kotlin.collections.List<kotlin.Int>>
        symbol = /groupBy(<extension receiver>: kotlin.collections.List<kotlin.Pair<kotlin.Int, kotlin.Int>>, keySelector: (kotlin.Pair<kotlin.Int, kotlin.Int>) -> K, valueTransform: (kotlin.Pair<kotlin.Int, kotlin.Int>) -> kotlin.Int): kotlin.collections.Map<K, kotlin.collections.List<kotlin.Int>>
        valueParameters = [
          KaVariableSignature:
            name = keySelector
            receiverType = null
            returnType = (kotlin.Pair<kotlin.Int, kotlin.Int>) -> kotlin.collections.IndexedValue<kotlin.Int>
            symbol = keySelector: (kotlin.Pair<kotlin.Int, kotlin.Int>) -> K
            contextParameters = []
            callableId = null,
          KaVariableSignature:
            name = valueTransform
            receiverType = null
            returnType = (kotlin.Pair<kotlin.Int, kotlin.Int>) -> kotlin.Int
            symbol = valueTransform: (kotlin.Pair<kotlin.Int, kotlin.Int>) -> kotlin.Int
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = /groupBy
      typeArgumentsMapping = {
        K -> (kotlin.collections.IndexedValue<kotlin.Int>)
      }
      valueArgumentMapping = {
        { (_, value) -> value } -> (KaVariableSignature:
          name = keySelector
          receiverType = null
          returnType = (kotlin.Pair<kotlin.Int, kotlin.Int>) -> kotlin.collections.IndexedValue<kotlin.Int>
          symbol = keySelector: (kotlin.Pair<kotlin.Int, kotlin.Int>) -> K
          contextParameters = []
          callableId = null),
        { (idx, _) -> idx } -> (KaVariableSignature:
          name = valueTransform
          receiverType = null
          returnType = (kotlin.Pair<kotlin.Int, kotlin.Int>) -> kotlin.Int
          symbol = valueTransform: (kotlin.Pair<kotlin.Int, kotlin.Int>) -> kotlin.Int
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<UNRESOLVED_REFERENCE_WRONG_RECEIVER: Candidate 'fun <K> List<Pair<Int, Int>>.groupBy(keySelector: (Pair<Int, Int>) -> K, valueTransform: (Pair<Int, Int>) -> Int): Map<K, List<Int>>' is inapplicable because of a receiver type mismatch.>
    isInBestCandidates = false
