KtInapplicableCallCandidateInfo:
  diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'kotlin.Int', but 'kotlin.Boolean' was expected.>
  candidate = KtSimpleFunctionCall:
    isImplicitInvoke = false
    partiallyAppliedSymbol = KtPartiallyAppliedSymbol:
      dispatchReceiver = KtExplicitReceiverValue:
        expression = a
        isSafeNavigation = false
        type = A
      extensionReceiver = null
      signature = KtFunctionLikeSignature:
        receiverType = null
        returnType = kotlin.Unit
        symbol = /A.x(<dispatch receiver>: A, b: kotlin.Boolean): kotlin.Unit
        valueParameters = [
          KtVariableLikeSignature:
            name = b
            receiverType = null
            returnType = kotlin.Boolean
            symbol = b: kotlin.Boolean
            callableIdIfNonLocal = null
        ]
        callableIdIfNonLocal = /A.x
    typeArgumentsMapping = {}
    argumentMapping = {
      1 -> (KtVariableLikeSignature:
        name = b
        receiverType = null
        returnType = kotlin.Boolean
        symbol = b: kotlin.Boolean
        callableIdIfNonLocal = null)
    }
  isInBestCandidates = false

KtApplicableCallCandidateInfo:
  candidate = KtSimpleFunctionCall:
    isImplicitInvoke = true
    partiallyAppliedSymbol = KtPartiallyAppliedSymbol:
      dispatchReceiver = null
      extensionReceiver = KtExplicitReceiverValue:
        expression = x
        isSafeNavigation = false
        type = kotlin.Int
      signature = KtFunctionLikeSignature:
        receiverType = kotlin.Int
        returnType = kotlin.Unit
        symbol = /invoke(<extension receiver>: kotlin.Int, i: kotlin.Int): kotlin.Unit
        valueParameters = [
          KtVariableLikeSignature:
            name = i
            receiverType = null
            returnType = kotlin.Int
            symbol = i: kotlin.Int
            callableIdIfNonLocal = null
        ]
        callableIdIfNonLocal = /invoke
    typeArgumentsMapping = {}
    argumentMapping = {
      1 -> (KtVariableLikeSignature:
        name = i
        receiverType = null
        returnType = kotlin.Int
        symbol = i: kotlin.Int
        callableIdIfNonLocal = null)
    }
  isInBestCandidates = true