KtFile: 'typeAlias.kt'
  null

KtPackageDirective(0,0): ''
  null

KtImportList(0,0): ''
  null

KtClass(0,100): '// LANGUAGE: +ContextSensitiveResolutionUsingExpectedType'
  null

KtDeclarationModifierList(58,62): 'enum'
  null

KtClassBody(74,100): '{'
  null

KtEnumEntry(80,86): 'FIRST,'
  null

KtEnumEntry(91,98): 'SECOND;'
  null

KtTypeAlias(102,124): 'typealias Other = Some'
  null

KtTypeReference(120,124): 'Some'
  KaSymbolResolutionSuccess:
    symbols = [
      /Some
    ]

KtUserType(120,124): 'Some'
  KaSymbolResolutionSuccess:
    symbols = [
      /Some
    ]

KtNameReferenceExpression(120,124): 'Some'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /Some
    ]

KtNamedFunction(126,189): 'fun foo(o: Other) = when (o) {'
  null

KtParameterList(133,143): '(o: Other)'
  null

KtParameter(134,142): 'o: Other'
  null

KtTypeReference(137,142): 'Other'
  KaSymbolResolutionSuccess:
    symbols = [
      /Other
    ]

KtUserType(137,142): 'Other'
  KaSymbolResolutionSuccess:
    symbols = [
      /Other
    ]

KtNameReferenceExpression(137,142): 'Other'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /Other
    ]

KtWhenExpression(146,189): 'when (o) {'
  null

KtNameReferenceExpression(152,153): 'o'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      o: {Other=} Some
    ]

KtWhenEntry(161,171): 'FIRST -> 1'
  null

KtWhenConditionWithExpression(161,166): 'FIRST'
  null

KtNameReferenceExpression(161,166): 'FIRST'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: Used
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /Some.FIRST
    ]

KtConstantExpression(170,171): '1'
  null

KtWhenEntry(176,187): 'SECOND -> 2'
  null

KtWhenConditionWithExpression(176,182): 'SECOND'
  null

KtNameReferenceExpression(176,182): 'SECOND'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: Used
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /Some.SECOND
    ]

KtConstantExpression(186,187): '2'
  null
