KtFile: 'enumWithTheSameNameAsEntry.kt'
  NO_CANDIDATES

KtPackageDirective(0,0): ''
  NO_CANDIDATES

KtImportList(0,0): ''
  NO_CANDIDATES

KtClass(71,101): 'enum class A {'
  NO_CANDIDATES

KtDeclarationModifierList(71,75): 'enum'
  NO_CANDIDATES

KtClassBody(84,101): '{'
  NO_CANDIDATES

KtEnumEntry(90,92): 'A,'
  NO_CANDIDATES

KtEnumEntry(97,99): 'B,'
  NO_CANDIDATES

KtNamedFunction(103,162): 'fun test(a: A) = when (a) {'
  NO_CANDIDATES

KtParameterList(111,117): '(a: A)'
  NO_CANDIDATES

KtParameter(112,116): 'a: A'
  NO_CANDIDATES

KtTypeReference(115,116): 'A'
  NO_CANDIDATES

KtUserType(115,116): 'A'
  NO_CANDIDATES

KtNameReferenceExpression(115,116): 'A'
  NO_CANDIDATES

KtWhenExpression(120,162): 'when (a) {'
  NO_CANDIDATES

KtNameReferenceExpression(126,127): 'a'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = a
        receiverType = null
        returnType = A
        symbol = a: A
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtWhenEntry(135,145): 'A.A -> "A"'
  NO_CANDIDATES

KtWhenConditionWithExpression(135,138): 'A.A'
  NO_CANDIDATES

KtDotQualifiedExpression(135,138): 'A.A'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = A
        isSafeNavigation = false
        type = kotlin.Unit
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = A
        receiverType = null
        returnType = A
        symbol = /A.A
        contextParameters = []
        callableId = /A.A
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(135,136): 'A'
  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = A
        symbol = <constructor>(): A
        valueParameters = []
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    diagnostic = ERROR<OTHER_ERROR: Inapplicable candidate>
    isInBestCandidates = false

KtNameReferenceExpression(137,138): 'A'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = A
        isSafeNavigation = false
        type = kotlin.Unit
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = A
        receiverType = null
        returnType = A
        symbol = /A.A
        contextParameters = []
        callableId = /A.A
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtStringTemplateExpression(142,145): '"A"'
  NO_CANDIDATES

KtLiteralStringTemplateEntry(143,144): 'A'
  NO_CANDIDATES

KtWhenEntry(150,160): 'A.B -> "B"'
  NO_CANDIDATES

KtWhenConditionWithExpression(150,153): 'A.B'
  NO_CANDIDATES

KtDotQualifiedExpression(150,153): 'A.B'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = A
        isSafeNavigation = false
        type = kotlin.Unit
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = B
        receiverType = null
        returnType = A
        symbol = /A.B
        contextParameters = []
        callableId = /A.B
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtNameReferenceExpression(150,151): 'A'
  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = A
        symbol = <constructor>(): A
        valueParameters = []
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    diagnostic = ERROR<OTHER_ERROR: Inapplicable candidate>
    isInBestCandidates = false

KtNameReferenceExpression(152,153): 'B'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = KaExplicitReceiverValue:
        expression = A
        isSafeNavigation = false
        type = kotlin.Unit
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = B
        receiverType = null
        returnType = A
        symbol = /A.B
        contextParameters = []
        callableId = /A.B
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtStringTemplateExpression(157,160): '"B"'
  NO_CANDIDATES

KtLiteralStringTemplateEntry(158,159): 'B'
  NO_CANDIDATES
