KtFile: 'eitherInDifferentPositions.kt'
  NO_CANDIDATES

KtPackageDirective(0,0): ''
  NO_CANDIDATES

KtImportList(0,0): ''
  NO_CANDIDATES

KtClass(78,243): 'sealed interface Either<out E, out A> {'
  NO_CANDIDATES

KtDeclarationModifierList(78,84): 'sealed'
  NO_CANDIDATES

KtTypeParameterList(101,115): '<out E, out A>'
  NO_CANDIDATES

KtTypeParameter(102,107): 'out E'
  NO_CANDIDATES

KtDeclarationModifierList(102,105): 'out'
  NO_CANDIDATES

KtTypeParameter(109,114): 'out A'
  NO_CANDIDATES

KtDeclarationModifierList(109,112): 'out'
  NO_CANDIDATES

KtClassBody(116,243): '{'
  NO_CANDIDATES

KtClass(122,179): 'data class  Left<out E>(val error: E): Either<E, Nothing>'
  NO_CANDIDATES

KtDeclarationModifierList(122,126): 'data'
  NO_CANDIDATES

KtTypeParameterList(138,145): '<out E>'
  NO_CANDIDATES

KtTypeParameter(139,144): 'out E'
  NO_CANDIDATES

KtDeclarationModifierList(139,142): 'out'
  NO_CANDIDATES

KtPrimaryConstructor(145,159): '(val error: E)'
  NO_CANDIDATES

KtParameterList(145,159): '(val error: E)'
  NO_CANDIDATES

KtParameter(146,158): 'val error: E'
  NO_CANDIDATES

KtTypeReference(157,158): 'E'
  NO_CANDIDATES

KtUserType(157,158): 'E'
  NO_CANDIDATES

KtNameReferenceExpression(157,158): 'E'
  NO_CANDIDATES

KtSuperTypeList(161,179): 'Either<E, Nothing>'
  NO_CANDIDATES

KtSuperTypeEntry(161,179): 'Either<E, Nothing>'
  NO_CANDIDATES

KtTypeReference(161,179): 'Either<E, Nothing>'
  NO_CANDIDATES

KtUserType(161,179): 'Either<E, Nothing>'
  NO_CANDIDATES

KtNameReferenceExpression(161,167): 'Either'
  NO_CANDIDATES

KtTypeArgumentList(167,179): '<E, Nothing>'
  NO_CANDIDATES

KtTypeProjection(168,169): 'E'
  NO_CANDIDATES

KtTypeReference(168,169): 'E'
  NO_CANDIDATES

KtUserType(168,169): 'E'
  NO_CANDIDATES

KtNameReferenceExpression(168,169): 'E'
  NO_CANDIDATES

KtTypeProjection(171,178): 'Nothing'
  NO_CANDIDATES

KtTypeReference(171,178): 'Nothing'
  NO_CANDIDATES

KtUserType(171,178): 'Nothing'
  NO_CANDIDATES

KtNameReferenceExpression(171,178): 'Nothing'
  NO_CANDIDATES

KtClass(184,241): 'data class Right<out A>(val value: A): Either<Nothing, A>'
  NO_CANDIDATES

KtDeclarationModifierList(184,188): 'data'
  NO_CANDIDATES

KtTypeParameterList(200,207): '<out A>'
  NO_CANDIDATES

KtTypeParameter(201,206): 'out A'
  NO_CANDIDATES

KtDeclarationModifierList(201,204): 'out'
  NO_CANDIDATES

KtPrimaryConstructor(207,221): '(val value: A)'
  NO_CANDIDATES

KtParameterList(207,221): '(val value: A)'
  NO_CANDIDATES

KtParameter(208,220): 'val value: A'
  NO_CANDIDATES

KtTypeReference(219,220): 'A'
  NO_CANDIDATES

KtUserType(219,220): 'A'
  NO_CANDIDATES

KtNameReferenceExpression(219,220): 'A'
  NO_CANDIDATES

KtSuperTypeList(223,241): 'Either<Nothing, A>'
  NO_CANDIDATES

KtSuperTypeEntry(223,241): 'Either<Nothing, A>'
  NO_CANDIDATES

KtTypeReference(223,241): 'Either<Nothing, A>'
  NO_CANDIDATES

KtUserType(223,241): 'Either<Nothing, A>'
  NO_CANDIDATES

KtNameReferenceExpression(223,229): 'Either'
  NO_CANDIDATES

KtTypeArgumentList(229,241): '<Nothing, A>'
  NO_CANDIDATES

KtTypeProjection(230,237): 'Nothing'
  NO_CANDIDATES

KtTypeReference(230,237): 'Nothing'
  NO_CANDIDATES

KtUserType(230,237): 'Nothing'
  NO_CANDIDATES

KtNameReferenceExpression(230,237): 'Nothing'
  NO_CANDIDATES

KtTypeProjection(239,240): 'A'
  NO_CANDIDATES

KtTypeReference(239,240): 'A'
  NO_CANDIDATES

KtUserType(239,240): 'A'
  NO_CANDIDATES

KtNameReferenceExpression(239,240): 'A'
  NO_CANDIDATES

KtNamedFunction(245,529): 'fun foo(s: Either<String, Int>) {'
  NO_CANDIDATES

KtParameterList(252,276): '(s: Either<String, Int>)'
  NO_CANDIDATES

KtParameter(253,275): 's: Either<String, Int>'
  NO_CANDIDATES

KtTypeReference(256,275): 'Either<String, Int>'
  NO_CANDIDATES

KtUserType(256,275): 'Either<String, Int>'
  NO_CANDIDATES

KtNameReferenceExpression(256,262): 'Either'
  NO_CANDIDATES

KtTypeArgumentList(262,275): '<String, Int>'
  NO_CANDIDATES

KtTypeProjection(263,269): 'String'
  NO_CANDIDATES

KtTypeReference(263,269): 'String'
  NO_CANDIDATES

KtUserType(263,269): 'String'
  NO_CANDIDATES

KtNameReferenceExpression(263,269): 'String'
  NO_CANDIDATES

KtTypeProjection(271,274): 'Int'
  NO_CANDIDATES

KtTypeReference(271,274): 'Int'
  NO_CANDIDATES

KtUserType(271,274): 'Int'
  NO_CANDIDATES

KtNameReferenceExpression(271,274): 'Int'
  NO_CANDIDATES

KtBlockExpression(277,529): '{'
  NO_CANDIDATES

KtWhenExpression(283,365): 'when {'
  NO_CANDIDATES

KtWhenEntry(298,325): 's is Left -> s.error.length'
  NO_CANDIDATES

KtWhenConditionWithExpression(298,307): 's is Left'
  NO_CANDIDATES

KtIsExpression(298,307): 's is Left'
  NO_CANDIDATES

KtNameReferenceExpression(298,299): 's'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = s
        receiverType = null
        returnType = Either<kotlin.String, kotlin.Int>
        symbol = s: Either<kotlin.String, kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtOperationReferenceExpression(300,302): 'is'
  NO_CANDIDATES

KtTypeReference(303,307): 'Left'
  NO_CANDIDATES

KtUserType(303,307): 'Left'
  NO_CANDIDATES

KtNameReferenceExpression(303,307): 'Left'
  NO_CANDIDATES

KtDotQualifiedExpression(311,325): 's.error.length'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.error
        isSafeNavigation = false
        type = kotlin.String
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = length
        receiverType = null
        returnType = kotlin.Int
        symbol = val length: kotlin.Int
        contextParameters = []
        callableId = kotlin/String.length
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtDotQualifiedExpression(311,318): 's.error'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaSmartCastedReceiverValue:
        original = KaExplicitReceiverValue:
          expression = s
          isSafeNavigation = false
          type = Either<kotlin.String, kotlin.Int>
        type = Either.Left<kotlin.String>
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = error
        receiverType = null
        returnType = kotlin.String
        symbol = val error: E
        contextParameters = []
        callableId = /Either.Left.error
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(311,312): 's'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = s
        receiverType = null
        returnType = Either<kotlin.String, kotlin.Int>
        symbol = s: Either<kotlin.String, kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(313,318): 'error'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaSmartCastedReceiverValue:
        original = KaExplicitReceiverValue:
          expression = s
          isSafeNavigation = false
          type = Either<kotlin.String, kotlin.Int>
        type = Either.Left<kotlin.String>
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = error
        receiverType = null
        returnType = kotlin.String
        symbol = val error: E
        contextParameters = []
        callableId = /Either.Left.error
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(319,325): 'length'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.error
        isSafeNavigation = false
        type = kotlin.String
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = length
        receiverType = null
        returnType = kotlin.Int
        symbol = val length: kotlin.Int
        contextParameters = []
        callableId = kotlin/String.length
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtWhenEntry(334,359): 's is Right -> s.value * 1'
  NO_CANDIDATES

KtWhenConditionWithExpression(334,344): 's is Right'
  NO_CANDIDATES

KtIsExpression(334,344): 's is Right'
  NO_CANDIDATES

KtNameReferenceExpression(334,335): 's'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = s
        receiverType = null
        returnType = Either<kotlin.String, kotlin.Int>
        symbol = s: Either<kotlin.String, kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtOperationReferenceExpression(336,338): 'is'
  NO_CANDIDATES

KtTypeReference(339,344): 'Right'
  NO_CANDIDATES

KtUserType(339,344): 'Right'
  NO_CANDIDATES

KtNameReferenceExpression(339,344): 'Right'
  NO_CANDIDATES

KtBinaryExpression(348,359): 's.value * 1'
  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.value
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Double
        symbol = kotlin/Int.times(<dispatch receiver>: kotlin.Int, other: kotlin.Double): kotlin.Double
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Double
            symbol = other: kotlin.Double
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.times
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Double
          symbol = other: kotlin.Double
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Double' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.value
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Float
        symbol = kotlin/Int.times(<dispatch receiver>: kotlin.Int, other: kotlin.Float): kotlin.Float
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Float
            symbol = other: kotlin.Float
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.times
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Float
          symbol = other: kotlin.Float
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Float' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.value
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.times(<dispatch receiver>: kotlin.Int, other: kotlin.Byte): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Byte
            symbol = other: kotlin.Byte
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.times
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Byte
          symbol = other: kotlin.Byte
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Byte' was expected.>
    isInBestCandidates = false

  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.value
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.times(<dispatch receiver>: kotlin.Int, other: kotlin.Int): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Int
            symbol = other: kotlin.Int
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.times
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Int
          symbol = other: kotlin.Int
          contextParameters = []
          callableId = null)
      }
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.value
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.times(<dispatch receiver>: kotlin.Int, other: kotlin.Short): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Short
            symbol = other: kotlin.Short
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.times
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Short
          symbol = other: kotlin.Short
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Short' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.value
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Long
        symbol = kotlin/Int.times(<dispatch receiver>: kotlin.Int, other: kotlin.Long): kotlin.Long
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Long
            symbol = other: kotlin.Long
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.times
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Long
          symbol = other: kotlin.Long
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Long' was expected.>
    isInBestCandidates = false

KtDotQualifiedExpression(348,355): 's.value'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaSmartCastedReceiverValue:
        original = KaExplicitReceiverValue:
          expression = s
          isSafeNavigation = false
          type = Either<kotlin.String, kotlin.Int>
        type = Either.Right<kotlin.Int>
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = value
        receiverType = null
        returnType = kotlin.Int
        symbol = val value: A
        contextParameters = []
        callableId = /Either.Right.value
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(348,349): 's'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = s
        receiverType = null
        returnType = Either<kotlin.String, kotlin.Int>
        symbol = s: Either<kotlin.String, kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(350,355): 'value'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaSmartCastedReceiverValue:
        original = KaExplicitReceiverValue:
          expression = s
          isSafeNavigation = false
          type = Either<kotlin.String, kotlin.Int>
        type = Either.Right<kotlin.Int>
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = value
        receiverType = null
        returnType = kotlin.Int
        symbol = val value: A
        contextParameters = []
        callableId = /Either.Right.value
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtOperationReferenceExpression(356,357): '*'
  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.value
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Double
        symbol = kotlin/Int.times(<dispatch receiver>: kotlin.Int, other: kotlin.Double): kotlin.Double
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Double
            symbol = other: kotlin.Double
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.times
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Double
          symbol = other: kotlin.Double
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Double' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.value
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Float
        symbol = kotlin/Int.times(<dispatch receiver>: kotlin.Int, other: kotlin.Float): kotlin.Float
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Float
            symbol = other: kotlin.Float
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.times
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Float
          symbol = other: kotlin.Float
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Float' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.value
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.times(<dispatch receiver>: kotlin.Int, other: kotlin.Byte): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Byte
            symbol = other: kotlin.Byte
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.times
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Byte
          symbol = other: kotlin.Byte
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Byte' was expected.>
    isInBestCandidates = false

  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.value
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.times(<dispatch receiver>: kotlin.Int, other: kotlin.Int): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Int
            symbol = other: kotlin.Int
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.times
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Int
          symbol = other: kotlin.Int
          contextParameters = []
          callableId = null)
      }
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.value
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.times(<dispatch receiver>: kotlin.Int, other: kotlin.Short): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Short
            symbol = other: kotlin.Short
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.times
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Short
          symbol = other: kotlin.Short
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Short' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.value
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Long
        symbol = kotlin/Int.times(<dispatch receiver>: kotlin.Int, other: kotlin.Long): kotlin.Long
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Long
            symbol = other: kotlin.Long
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.times
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Long
          symbol = other: kotlin.Long
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Long' was expected.>
    isInBestCandidates = false

KtConstantExpression(358,359): '1'
  NO_CANDIDATES

KtIfExpression(371,415): 'if (s !is Left) {'
  NO_CANDIDATES

KtContainerNode(375,385): 's !is Left'
  NO_CANDIDATES

KtIsExpression(375,385): 's !is Left'
  NO_CANDIDATES

KtNameReferenceExpression(375,376): 's'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = s
        receiverType = null
        returnType = Either<kotlin.String, kotlin.Int>
        symbol = s: Either<kotlin.String, kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtOperationReferenceExpression(377,380): '!is'
  NO_CANDIDATES

KtTypeReference(381,385): 'Left'
  NO_CANDIDATES

KtUserType(381,385): 'Left'
  NO_CANDIDATES

KtNameReferenceExpression(381,385): 'Left'
  NO_CANDIDATES

KtContainerNodeForControlStructureBody(387,415): '{'
  NO_CANDIDATES

KtBlockExpression(387,415): '{'
  NO_CANDIDATES

KtDotQualifiedExpression(397,409): 's.hashCode()'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s
        isSafeNavigation = false
        type = Either<kotlin.String, kotlin.Int>
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Any.hashCode(<dispatch receiver>: kotlin.Any): kotlin.Int
        valueParameters = []
        contextParameters = []
        callableId = kotlin/Any.hashCode
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(397,398): 's'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = s
        receiverType = null
        returnType = Either<kotlin.String, kotlin.Int>
        symbol = s: Either<kotlin.String, kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtCallExpression(399,409): 'hashCode()'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s
        isSafeNavigation = false
        type = Either<kotlin.String, kotlin.Int>
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Any.hashCode(<dispatch receiver>: kotlin.Any): kotlin.Int
        valueParameters = []
        contextParameters = []
        callableId = kotlin/Any.hashCode
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(399,407): 'hashCode'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s
        isSafeNavigation = false
        type = Either<kotlin.String, kotlin.Int>
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Any.hashCode(<dispatch receiver>: kotlin.Any): kotlin.Int
        valueParameters = []
        contextParameters = []
        callableId = kotlin/Any.hashCode
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    isInBestCandidates = true

KtValueArgumentList(407,409): '()'
  NO_CANDIDATES

KtIfExpression(421,493): 'if (1 == "".hashCode()) {'
  NO_CANDIDATES

KtContainerNode(425,443): '1 == "".hashCode()'
  NO_CANDIDATES

KtBinaryExpression(425,443): '1 == "".hashCode()'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = 1
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Boolean
        symbol = kotlin/Int.equals(<dispatch receiver>: kotlin.Int, other: kotlin.Any?): kotlin.Boolean
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Any?
            symbol = other: kotlin.Any?
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.equals
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        "".hashCode() -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Any?
          symbol = other: kotlin.Any?
          contextParameters = []
          callableId = null)
      }
    isInBestCandidates = true

KtConstantExpression(425,426): '1'
  NO_CANDIDATES

KtOperationReferenceExpression(427,429): '=='
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = 1
        isSafeNavigation = false
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Boolean
        symbol = kotlin/Int.equals(<dispatch receiver>: kotlin.Int, other: kotlin.Any?): kotlin.Boolean
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Any?
            symbol = other: kotlin.Any?
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.equals
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        "".hashCode() -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Any?
          symbol = other: kotlin.Any?
          contextParameters = []
          callableId = null)
      }
    isInBestCandidates = true

KtDotQualifiedExpression(430,443): '"".hashCode()'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = ""
        isSafeNavigation = false
        type = kotlin.String
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Any.hashCode(<dispatch receiver>: kotlin.Any): kotlin.Int
        valueParameters = []
        contextParameters = []
        callableId = kotlin/Any.hashCode
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    isInBestCandidates = true

KtStringTemplateExpression(430,432): '""'
  NO_CANDIDATES

KtCallExpression(433,443): 'hashCode()'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = ""
        isSafeNavigation = false
        type = kotlin.String
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Any.hashCode(<dispatch receiver>: kotlin.Any): kotlin.Int
        valueParameters = []
        contextParameters = []
        callableId = kotlin/Any.hashCode
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(433,441): 'hashCode'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = ""
        isSafeNavigation = false
        type = kotlin.String
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Any.hashCode(<dispatch receiver>: kotlin.Any): kotlin.Int
        valueParameters = []
        contextParameters = []
        callableId = kotlin/Any.hashCode
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    isInBestCandidates = true

KtValueArgumentList(441,443): '()'
  NO_CANDIDATES

KtContainerNodeForControlStructureBody(445,493): '{'
  NO_CANDIDATES

KtBlockExpression(445,493): '{'
  NO_CANDIDATES

KtBinaryExpressionWithTypeRHS(455,464): 's as Left'
  NO_CANDIDATES

KtNameReferenceExpression(455,456): 's'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = s
        receiverType = null
        returnType = Either<kotlin.String, kotlin.Int>
        symbol = s: Either<kotlin.String, kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtOperationReferenceExpression(457,459): 'as'
  NO_CANDIDATES

KtTypeReference(460,464): 'Left'
  NO_CANDIDATES

KtUserType(460,464): 'Left'
  NO_CANDIDATES

KtNameReferenceExpression(460,464): 'Left'
  NO_CANDIDATES

KtDotQualifiedExpression(473,487): 's.error.length'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.error
        isSafeNavigation = false
        type = kotlin.String
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = length
        receiverType = null
        returnType = kotlin.Int
        symbol = val length: kotlin.Int
        contextParameters = []
        callableId = kotlin/String.length
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtDotQualifiedExpression(473,480): 's.error'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaSmartCastedReceiverValue:
        original = KaExplicitReceiverValue:
          expression = s
          isSafeNavigation = false
          type = Either<kotlin.String, kotlin.Int>
        type = Either.Left<kotlin.String>
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = error
        receiverType = null
        returnType = kotlin.String
        symbol = val error: E
        contextParameters = []
        callableId = /Either.Left.error
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(473,474): 's'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = s
        receiverType = null
        returnType = Either<kotlin.String, kotlin.Int>
        symbol = s: Either<kotlin.String, kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(475,480): 'error'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaSmartCastedReceiverValue:
        original = KaExplicitReceiverValue:
          expression = s
          isSafeNavigation = false
          type = Either<kotlin.String, kotlin.Int>
        type = Either.Left<kotlin.String>
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = error
        receiverType = null
        returnType = kotlin.String
        symbol = val error: E
        contextParameters = []
        callableId = /Either.Left.error
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(481,487): 'length'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s.error
        isSafeNavigation = false
        type = kotlin.String
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = length
        receiverType = null
        returnType = kotlin.Int
        symbol = val length: kotlin.Int
        contextParameters = []
        callableId = kotlin/String.length
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtSafeQualifiedExpression(499,527): '(s as? Right)?.value?.div(1)'
  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Double
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Double): kotlin.Double
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Double
            symbol = other: kotlin.Double
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Double
          symbol = other: kotlin.Double
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Double' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Float
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Float): kotlin.Float
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Float
            symbol = other: kotlin.Float
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Float
          symbol = other: kotlin.Float
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Float' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Byte): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Byte
            symbol = other: kotlin.Byte
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Byte
          symbol = other: kotlin.Byte
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Byte' was expected.>
    isInBestCandidates = false

  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Int): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Int
            symbol = other: kotlin.Int
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Int
          symbol = other: kotlin.Int
          contextParameters = []
          callableId = null)
      }
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Short): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Short
            symbol = other: kotlin.Short
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Short
          symbol = other: kotlin.Short
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Short' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Long
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Long): kotlin.Long
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Long
            symbol = other: kotlin.Long
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Long
          symbol = other: kotlin.Long
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Long' was expected.>
    isInBestCandidates = false

KtSafeQualifiedExpression(499,519): '(s as? Right)?.value'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s as? Right
        isSafeNavigation = true
        type = Either.Right<kotlin.Int>
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = value
        receiverType = null
        returnType = kotlin.Int
        symbol = val value: A
        contextParameters = []
        callableId = /Either.Right.value
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtParenthesizedExpression(499,512): '(s as? Right)'
  NO_CANDIDATES

KtBinaryExpressionWithTypeRHS(500,511): 's as? Right'
  NO_CANDIDATES

KtNameReferenceExpression(500,501): 's'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = s
        receiverType = null
        returnType = Either<kotlin.String, kotlin.Int>
        symbol = s: Either<kotlin.String, kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtOperationReferenceExpression(502,505): 'as?'
  NO_CANDIDATES

KtTypeReference(506,511): 'Right'
  NO_CANDIDATES

KtUserType(506,511): 'Right'
  NO_CANDIDATES

KtNameReferenceExpression(506,511): 'Right'
  NO_CANDIDATES

KtNameReferenceExpression(514,519): 'value'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = s as? Right
        isSafeNavigation = true
        type = Either.Right<kotlin.Int>
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = value
        receiverType = null
        returnType = kotlin.Int
        symbol = val value: A
        contextParameters = []
        callableId = /Either.Right.value
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtCallExpression(521,527): 'div(1)'
  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Double
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Double): kotlin.Double
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Double
            symbol = other: kotlin.Double
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Double
          symbol = other: kotlin.Double
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Double' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Float
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Float): kotlin.Float
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Float
            symbol = other: kotlin.Float
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Float
          symbol = other: kotlin.Float
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Float' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Byte): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Byte
            symbol = other: kotlin.Byte
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Byte
          symbol = other: kotlin.Byte
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Byte' was expected.>
    isInBestCandidates = false

  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Int): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Int
            symbol = other: kotlin.Int
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Int
          symbol = other: kotlin.Int
          contextParameters = []
          callableId = null)
      }
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Short): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Short
            symbol = other: kotlin.Short
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Short
          symbol = other: kotlin.Short
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Short' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Long
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Long): kotlin.Long
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Long
            symbol = other: kotlin.Long
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Long
          symbol = other: kotlin.Long
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Long' was expected.>
    isInBestCandidates = false

KtNameReferenceExpression(521,524): 'div'
  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Double
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Double): kotlin.Double
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Double
            symbol = other: kotlin.Double
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Double
          symbol = other: kotlin.Double
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Double' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Float
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Float): kotlin.Float
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Float
            symbol = other: kotlin.Float
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Float
          symbol = other: kotlin.Float
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Float' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Byte): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Byte
            symbol = other: kotlin.Byte
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Byte
          symbol = other: kotlin.Byte
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Byte' was expected.>
    isInBestCandidates = false

  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Int): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Int
            symbol = other: kotlin.Int
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Int
          symbol = other: kotlin.Int
          contextParameters = []
          callableId = null)
      }
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Int
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Short): kotlin.Int
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Short
            symbol = other: kotlin.Short
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Short
          symbol = other: kotlin.Short
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Short' was expected.>
    isInBestCandidates = false

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = (s as? Right)?.value
        isSafeNavigation = true
        type = kotlin.Int
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Long
        symbol = kotlin/Int.div(<dispatch receiver>: kotlin.Int, other: kotlin.Long): kotlin.Long
        valueParameters = [
          KaVariableSignature:
            name = other
            receiverType = null
            returnType = kotlin.Long
            symbol = other: kotlin.Long
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/Int.div
      typeArgumentsMapping = {}
      valueArgumentMapping = {
        1 -> (KaVariableSignature:
          name = other
          receiverType = null
          returnType = kotlin.Long
          symbol = other: kotlin.Long
          contextParameters = []
          callableId = null)
      }
    diagnostic = ERROR<ARGUMENT_TYPE_MISMATCH: Argument type mismatch: actual type is 'Int', but 'Long' was expected.>
    isInBestCandidates = false

KtValueArgumentList(524,527): '(1)'
  NO_CANDIDATES

KtValueArgument(525,526): '1'
  NO_CANDIDATES

KtConstantExpression(525,526): '1'
  NO_CANDIDATES
