KtFile: 'regularArgEnum.kt'
  null

KtPackageDirective(0,0): ''
  null

KtImportList(0,0): ''
  null

KtClass(79,128): 'enum class MyEnum {'
  null

KtDeclarationModifierList(79,83): 'enum'
  null

KtClassBody(97,128): '{'
  null

KtEnumEntry(103,114): 'EnumValue1,'
  null

KtEnumEntry(115,126): 'EnumValue2;'
  null

KtNamedFunction(129,160): 'fun receiveEnum(arg: MyEnum) {}'
  null

KtParameterList(144,157): '(arg: MyEnum)'
  null

KtParameter(145,156): 'arg: MyEnum'
  null

KtTypeReference(150,156): 'MyEnum'
  KaSymbolResolutionSuccess:
    symbols = [
      /MyEnum
    ]

KtUserType(150,156): 'MyEnum'
  KaSymbolResolutionSuccess:
    symbols = [
      /MyEnum
    ]

KtNameReferenceExpression(150,156): 'MyEnum'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /MyEnum
    ]

KtBlockExpression(158,160): '{}'
  null

KtNamedFunction(162,331): 'fun test0() {'
  null

KtParameterList(171,173): '()'
  null

KtBlockExpression(174,331): '{'
  null

KtProperty(180,208): 'val arg1 = MyEnum.EnumValue1'
  null

KtDotQualifiedExpression(191,208): 'MyEnum.EnumValue1'
  KaSymbolResolutionSuccess:
    symbols = [
      /MyEnum.EnumValue1
    ]

KtNameReferenceExpression(191,197): 'MyEnum'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /MyEnum
    ]

KtNameReferenceExpression(198,208): 'EnumValue1'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /MyEnum.EnumValue1
    ]

KtProperty(213,234): 'val arg2 = EnumValue2'
  null

KtNameReferenceExpression(224,234): 'EnumValue2'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'EnumValue2'.>

KtCallExpression(240,263): 'receiveEnum(EnumValue2)'
  KaSymbolResolutionSuccess:
    symbols = [
      /receiveEnum(arg: MyEnum): kotlin.Unit
    ]

KtNameReferenceExpression(240,251): 'receiveEnum'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /receiveEnum(arg: MyEnum): kotlin.Unit
    ]

KtValueArgumentList(251,263): '(EnumValue2)'
  null

KtValueArgument(252,262): 'EnumValue2'
  null

KtNameReferenceExpression(252,262): 'EnumValue2'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: Used
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /MyEnum.EnumValue2
    ]

KtCallExpression(268,285): 'receiveEnum(arg1)'
  KaSymbolResolutionSuccess:
    symbols = [
      /receiveEnum(arg: MyEnum): kotlin.Unit
    ]

KtNameReferenceExpression(268,279): 'receiveEnum'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /receiveEnum(arg: MyEnum): kotlin.Unit
    ]

KtValueArgumentList(279,285): '(arg1)'
  null

KtValueArgument(280,284): 'arg1'
  null

KtNameReferenceExpression(280,284): 'arg1'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      val arg1: MyEnum
    ]

KtCallExpression(290,307): 'receiveEnum(arg2)'
  KaSymbolResolutionSuccess:
    symbols = [
      /receiveEnum(arg: MyEnum): kotlin.Unit
    ]

KtNameReferenceExpression(290,301): 'receiveEnum'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /receiveEnum(arg: MyEnum): kotlin.Unit
    ]

KtValueArgumentList(301,307): '(arg2)'
  null

KtValueArgument(302,306): 'arg2'
  null

KtNameReferenceExpression(302,306): 'arg2'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      val arg2: ERROR CLASS: Unresolved name: EnumValue2
    ]

KtCallExpression(312,329): 'receiveEnum(arg3)'
  KaSymbolResolutionSuccess:
    symbols = [
      /receiveEnum(arg: MyEnum): kotlin.Unit
    ]

KtNameReferenceExpression(312,323): 'receiveEnum'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /receiveEnum(arg: MyEnum): kotlin.Unit
    ]

KtValueArgumentList(323,329): '(arg3)'
  null

KtValueArgument(324,328): 'arg3'
  null

KtNameReferenceExpression(324,328): 'arg3'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'arg3'.>
