KtFile: 'samePackage.kt'
  null

KtPackageDirective(59,70): 'package foo'
  null

KtNameReferenceExpression(67,70): 'foo'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo
    ]

KtImportList(70,70): ''
  null

KtClass(72,288): 'sealed class Sealed {'
  null

KtDeclarationModifierList(72,78): 'sealed'
  null

KtClassBody(92,288): '{'
  null

KtObjectDeclaration(98,122): 'data object A : Sealed()'
  null

KtDeclarationModifierList(98,102): 'data'
  null

KtSuperTypeList(114,122): 'Sealed()'
  null

KtSuperTypeCallEntry(114,122): 'Sealed()'
  KaSymbolResolutionSuccess:
    symbols = [
      <constructor>(): foo.Sealed
    ]

KtConstructorCalleeExpression(114,120): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      <constructor>(): foo.Sealed
    ]

KtTypeReference(114,120): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(114,120): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(114,120): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtValueArgumentList(120,122): '()'
  null

KtClass(127,162): 'data class B(val x: Int) : Sealed()'
  null

KtDeclarationModifierList(127,131): 'data'
  null

KtPrimaryConstructor(139,151): '(val x: Int)'
  null

KtParameterList(139,151): '(val x: Int)'
  null

KtParameter(140,150): 'val x: Int'
  null

KtTypeReference(147,150): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(147,150): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(147,150): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtSuperTypeList(154,162): 'Sealed()'
  null

KtSuperTypeCallEntry(154,162): 'Sealed()'
  KaSymbolResolutionSuccess:
    symbols = [
      <constructor>(): foo.Sealed
    ]

KtConstructorCalleeExpression(154,160): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      <constructor>(): foo.Sealed
    ]

KtTypeReference(154,160): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(154,160): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(154,160): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtValueArgumentList(160,162): '()'
  null

KtObjectDeclaration(167,191): 'data object C : Sealed()'
  null

KtDeclarationModifierList(167,171): 'data'
  null

KtSuperTypeList(183,191): 'Sealed()'
  null

KtSuperTypeCallEntry(183,191): 'Sealed()'
  KaSymbolResolutionSuccess:
    symbols = [
      <constructor>(): foo.Sealed
    ]

KtConstructorCalleeExpression(183,189): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      <constructor>(): foo.Sealed
    ]

KtTypeReference(183,189): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(183,189): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(183,189): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtValueArgumentList(189,191): '()'
  null

KtClass(196,231): 'data class D(val y: Int) : Sealed()'
  null

KtDeclarationModifierList(196,200): 'data'
  null

KtPrimaryConstructor(208,220): '(val y: Int)'
  null

KtParameterList(208,220): '(val y: Int)'
  null

KtParameter(209,219): 'val y: Int'
  null

KtTypeReference(216,219): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(216,219): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(216,219): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtSuperTypeList(223,231): 'Sealed()'
  null

KtSuperTypeCallEntry(223,231): 'Sealed()'
  KaSymbolResolutionSuccess:
    symbols = [
      <constructor>(): foo.Sealed
    ]

KtConstructorCalleeExpression(223,229): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      <constructor>(): foo.Sealed
    ]

KtTypeReference(223,229): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(223,229): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(223,229): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtValueArgumentList(229,231): '()'
  null

KtClass(236,286): 'data class String(val t: kotlin.String) : Sealed()'
  null

KtDeclarationModifierList(236,240): 'data'
  null

KtPrimaryConstructor(253,275): '(val t: kotlin.String)'
  null

KtParameterList(253,275): '(val t: kotlin.String)'
  null

KtParameter(254,274): 'val t: kotlin.String'
  null

KtTypeReference(261,274): 'kotlin.String'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/String
    ]

KtUserType(261,274): 'kotlin.String'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/String
    ]

KtUserType(261,267): 'kotlin'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin
    ]

KtNameReferenceExpression(261,267): 'kotlin'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin
    ]

KtNameReferenceExpression(268,274): 'String'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/String
    ]

KtSuperTypeList(278,286): 'Sealed()'
  null

KtSuperTypeCallEntry(278,286): 'Sealed()'
  KaSymbolResolutionSuccess:
    symbols = [
      <constructor>(): foo.Sealed
    ]

KtConstructorCalleeExpression(278,284): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      <constructor>(): foo.Sealed
    ]

KtTypeReference(278,284): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(278,284): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(278,284): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtValueArgumentList(284,286): '()'
  null

KtObjectDeclaration(290,298): 'object A'
  null

KtClass(299,306): 'class B'
  null

KtNamedFunction(308,432): 'fun sealed(s: Sealed): Int = when (s) {'
  null

KtParameterList(318,329): '(s: Sealed)'
  null

KtParameter(319,328): 's: Sealed'
  null

KtTypeReference(322,328): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(322,328): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(322,328): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(331,334): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(331,334): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(331,334): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtWhenExpression(337,432): 'when (s) {'
  null

KtNameReferenceExpression(343,344): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtWhenEntry(352,358): 'A -> 1'
  null

KtWhenConditionWithExpression(352,353): 'A'
  null

KtNameReferenceExpression(352,353): 'A'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/A
    ]

KtConstantExpression(357,358): '1'
  null

KtWhenEntry(363,372): 'is B -> 2'
  null

KtWhenConditionIsPattern(363,367): 'is B'
  null

KtTypeReference(366,367): 'B'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/B
    ]

KtUserType(366,367): 'B'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/B
    ]

KtNameReferenceExpression(366,367): 'B'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/B
    ]

KtConstantExpression(371,372): '2'
  null

KtWhenEntry(377,383): 'C -> 3'
  null

KtWhenConditionWithExpression(377,378): 'C'
  null

KtNameReferenceExpression(377,378): 'C'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: Used
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.C
    ]

KtConstantExpression(382,383): '3'
  null

KtWhenEntry(388,397): 'is D -> 4'
  null

KtWhenConditionIsPattern(388,392): 'is D'
  null

KtTypeReference(391,392): 'D'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.D
    ]

KtUserType(391,392): 'D'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.D
    ]

KtNameReferenceExpression(391,392): 'D'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: Used
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.D
    ]

KtConstantExpression(396,397): '4'
  null

KtWhenEntry(402,416): 'is String -> 5'
  null

KtWhenConditionIsPattern(402,411): 'is String'
  null

KtTypeReference(405,411): 'String'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/String
    ]

KtUserType(405,411): 'String'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/String
    ]

KtNameReferenceExpression(405,411): 'String'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/String
    ]

KtConstantExpression(415,416): '5'
  null

KtWhenEntry(421,430): 'else -> 6'
  null

KtConstantExpression(429,430): '6'
  null

KtNamedFunction(434,536): 'fun sealedExplicit(s: Sealed): Int = when (s) {'
  null

KtParameterList(452,463): '(s: Sealed)'
  null

KtParameter(453,462): 's: Sealed'
  null

KtTypeReference(456,462): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(456,462): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(456,462): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(465,468): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(465,468): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(465,468): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtWhenExpression(471,536): 'when (s) {'
  null

KtNameReferenceExpression(477,478): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtWhenEntry(486,499): 'Sealed.A -> 1'
  null

KtWhenConditionWithExpression(486,494): 'Sealed.A'
  null

KtDotQualifiedExpression(486,494): 'Sealed.A'
  null

KtNameReferenceExpression(486,492): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(493,494): 'A'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.A
    ]

KtConstantExpression(498,499): '1'
  null

KtWhenEntry(504,520): 'is Sealed.B -> 2'
  null

KtWhenConditionIsPattern(504,515): 'is Sealed.B'
  null

KtTypeReference(507,515): 'Sealed.B'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.B
    ]

KtUserType(507,515): 'Sealed.B'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.B
    ]

KtUserType(507,513): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(507,513): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(514,515): 'B'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.B
    ]

KtConstantExpression(519,520): '2'
  null

KtWhenEntry(525,534): 'else -> 6'
  null

KtConstantExpression(533,534): '6'
  null

KtNamedFunction(538,636): 'fun topLevelExplicit(s: Sealed): Int = when (s) {'
  null

KtParameterList(558,569): '(s: Sealed)'
  null

KtParameter(559,568): 's: Sealed'
  null

KtTypeReference(562,568): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(562,568): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(562,568): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(571,574): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(571,574): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(571,574): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtWhenExpression(577,636): 'when (s) {'
  null

KtNameReferenceExpression(583,584): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtWhenEntry(592,602): 'foo.A -> 1'
  null

KtWhenConditionWithExpression(592,597): 'foo.A'
  null

KtDotQualifiedExpression(592,597): 'foo.A'
  null

KtNameReferenceExpression(592,595): 'foo'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo
    ]

KtNameReferenceExpression(596,597): 'A'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/A
    ]

KtConstantExpression(601,602): '1'
  null

KtWhenEntry(607,620): 'is foo.B -> 2'
  null

KtWhenConditionIsPattern(607,615): 'is foo.B'
  null

KtTypeReference(610,615): 'foo.B'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/B
    ]

KtUserType(610,615): 'foo.B'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/B
    ]

KtUserType(610,613): 'foo'
  KaSymbolResolutionSuccess:
    symbols = [
      foo
    ]

KtNameReferenceExpression(610,613): 'foo'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo
    ]

KtNameReferenceExpression(614,615): 'B'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/B
    ]

KtConstantExpression(619,620): '2'
  null

KtWhenEntry(625,634): 'else -> 6'
  null

KtConstantExpression(633,634): '6'
  null

KtNamedFunction(638,696): 'fun cast1wrong(s: Sealed): Int {'
  null

KtParameterList(652,663): '(s: Sealed)'
  null

KtParameter(653,662): 's: Sealed'
  null

KtTypeReference(656,662): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(656,662): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(656,662): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(665,668): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(665,668): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(665,668): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtBlockExpression(669,696): '{'
  null

KtBinaryExpressionWithTypeRHS(675,681): 's as A'
  null

KtNameReferenceExpression(675,676): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtOperationReferenceExpression(677,679): 'as'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  null

KtTypeReference(680,681): 'A'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/A
    ]

KtUserType(680,681): 'A'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/A
    ]

KtNameReferenceExpression(680,681): 'A'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/A
    ]

KtReturnExpression(686,694): 'return 1'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/cast1wrong(s: foo.Sealed): kotlin.Int
    ]

KtConstantExpression(693,694): '1'
  null

KtNamedFunction(698,756): 'fun cast2wrong(s: Sealed): Int {'
  null

KtParameterList(712,723): '(s: Sealed)'
  null

KtParameter(713,722): 's: Sealed'
  null

KtTypeReference(716,722): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(716,722): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(716,722): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(725,728): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(725,728): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(725,728): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtBlockExpression(729,756): '{'
  null

KtBinaryExpressionWithTypeRHS(735,741): 's as B'
  null

KtNameReferenceExpression(735,736): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtOperationReferenceExpression(737,739): 'as'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  null

KtTypeReference(740,741): 'B'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/B
    ]

KtUserType(740,741): 'B'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/B
    ]

KtNameReferenceExpression(740,741): 'B'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/B
    ]

KtReturnExpression(746,754): 'return 2'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/cast2wrong(s: foo.Sealed): kotlin.Int
    ]

KtConstantExpression(753,754): '2'
  null

KtNamedFunction(758,824): 'fun cast1sealed(s: Sealed): Int {'
  null

KtParameterList(773,784): '(s: Sealed)'
  null

KtParameter(774,783): 's: Sealed'
  null

KtTypeReference(777,783): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(777,783): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(777,783): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(786,789): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(786,789): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(786,789): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtBlockExpression(790,824): '{'
  null

KtBinaryExpressionWithTypeRHS(796,809): 's as Sealed.A'
  null

KtNameReferenceExpression(796,797): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtOperationReferenceExpression(798,800): 'as'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  null

KtTypeReference(801,809): 'Sealed.A'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.A
    ]

KtUserType(801,809): 'Sealed.A'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.A
    ]

KtUserType(801,807): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(801,807): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(808,809): 'A'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.A
    ]

KtReturnExpression(814,822): 'return 1'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/cast1sealed(s: foo.Sealed): kotlin.Int
    ]

KtConstantExpression(821,822): '1'
  null

KtNamedFunction(826,892): 'fun cast2sealed(s: Sealed): Int {'
  null

KtParameterList(841,852): '(s: Sealed)'
  null

KtParameter(842,851): 's: Sealed'
  null

KtTypeReference(845,851): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(845,851): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(845,851): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(854,857): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(854,857): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(854,857): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtBlockExpression(858,892): '{'
  null

KtBinaryExpressionWithTypeRHS(864,877): 's as Sealed.B'
  null

KtNameReferenceExpression(864,865): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtOperationReferenceExpression(866,868): 'as'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  null

KtTypeReference(869,877): 'Sealed.B'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.B
    ]

KtUserType(869,877): 'Sealed.B'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.B
    ]

KtUserType(869,875): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(869,875): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(876,877): 'B'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.B
    ]

KtReturnExpression(882,890): 'return 2'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/cast2sealed(s: foo.Sealed): kotlin.Int
    ]

KtConstantExpression(889,890): '2'
  null

KtNamedFunction(894,959): 'fun cast1topLevel(s: Sealed): Int {'
  null

KtParameterList(911,922): '(s: Sealed)'
  null

KtParameter(912,921): 's: Sealed'
  null

KtTypeReference(915,921): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(915,921): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(915,921): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(924,927): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(924,927): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(924,927): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtBlockExpression(928,959): '{'
  null

KtBinaryExpressionWithTypeRHS(934,944): 's as foo.A'
  null

KtNameReferenceExpression(934,935): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtOperationReferenceExpression(936,938): 'as'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  null

KtTypeReference(939,944): 'foo.A'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/A
    ]

KtUserType(939,944): 'foo.A'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/A
    ]

KtUserType(939,942): 'foo'
  KaSymbolResolutionSuccess:
    symbols = [
      foo
    ]

KtNameReferenceExpression(939,942): 'foo'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo
    ]

KtNameReferenceExpression(943,944): 'A'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/A
    ]

KtReturnExpression(949,957): 'return 1'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/cast1topLevel(s: foo.Sealed): kotlin.Int
    ]

KtConstantExpression(956,957): '1'
  null

KtNamedFunction(961,1026): 'fun cast2topLevel(s: Sealed): Int {'
  null

KtParameterList(978,989): '(s: Sealed)'
  null

KtParameter(979,988): 's: Sealed'
  null

KtTypeReference(982,988): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(982,988): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(982,988): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(991,994): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(991,994): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(991,994): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtBlockExpression(995,1026): '{'
  null

KtBinaryExpressionWithTypeRHS(1001,1011): 's as foo.B'
  null

KtNameReferenceExpression(1001,1002): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtOperationReferenceExpression(1003,1005): 'as'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  null

KtTypeReference(1006,1011): 'foo.B'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/B
    ]

KtUserType(1006,1011): 'foo.B'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/B
    ]

KtUserType(1006,1009): 'foo'
  KaSymbolResolutionSuccess:
    symbols = [
      foo
    ]

KtNameReferenceExpression(1006,1009): 'foo'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo
    ]

KtNameReferenceExpression(1010,1011): 'B'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/B
    ]

KtReturnExpression(1016,1024): 'return 2'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/cast2topLevel(s: foo.Sealed): kotlin.Int
    ]

KtConstantExpression(1023,1024): '2'
  null

KtNamedFunction(1028,1083): 'fun cast3ok(s: Sealed): Int {'
  null

KtParameterList(1039,1050): '(s: Sealed)'
  null

KtParameter(1040,1049): 's: Sealed'
  null

KtTypeReference(1043,1049): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(1043,1049): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(1043,1049): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(1052,1055): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(1052,1055): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(1052,1055): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtBlockExpression(1056,1083): '{'
  null

KtBinaryExpressionWithTypeRHS(1062,1068): 's as C'
  null

KtNameReferenceExpression(1062,1063): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtOperationReferenceExpression(1064,1066): 'as'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  null

KtTypeReference(1067,1068): 'C'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.C
    ]

KtUserType(1067,1068): 'C'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.C
    ]

KtNameReferenceExpression(1067,1068): 'C'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: Used
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.C
    ]

KtReturnExpression(1073,1081): 'return 3'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/cast3ok(s: foo.Sealed): kotlin.Int
    ]

KtConstantExpression(1080,1081): '3'
  null

KtNamedFunction(1085,1140): 'fun cast4ok(s: Sealed): Int {'
  null

KtParameterList(1096,1107): '(s: Sealed)'
  null

KtParameter(1097,1106): 's: Sealed'
  null

KtTypeReference(1100,1106): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(1100,1106): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(1100,1106): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(1109,1112): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtUserType(1109,1112): 'Int'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtNameReferenceExpression(1109,1112): 'Int'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Int
    ]

KtBlockExpression(1113,1140): '{'
  null

KtBinaryExpressionWithTypeRHS(1119,1125): 's as D'
  null

KtNameReferenceExpression(1119,1120): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtOperationReferenceExpression(1121,1123): 'as'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  null

KtTypeReference(1124,1125): 'D'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.D
    ]

KtUserType(1124,1125): 'D'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.D
    ]

KtNameReferenceExpression(1124,1125): 'D'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: Used
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.D
    ]

KtReturnExpression(1130,1138): 'return 4'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/cast4ok(s: foo.Sealed): kotlin.Int
    ]

KtConstantExpression(1137,1138): '4'
  null

KtNamedFunction(1142,1189): 'fun equality1wrong(s: Sealed): Boolean = s == A'
  null

KtParameterList(1160,1171): '(s: Sealed)'
  null

KtParameter(1161,1170): 's: Sealed'
  null

KtTypeReference(1164,1170): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(1164,1170): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(1164,1170): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(1173,1180): 'Boolean'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Boolean
    ]

KtUserType(1173,1180): 'Boolean'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Boolean
    ]

KtNameReferenceExpression(1173,1180): 'Boolean'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Boolean
    ]

KtBinaryExpression(1183,1189): 's == A'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Any.equals(<dispatch receiver>: kotlin.Any, other: kotlin.Any?): kotlin.Boolean
    ]

KtNameReferenceExpression(1183,1184): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtOperationReferenceExpression(1185,1187): '=='
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Any.equals(<dispatch receiver>: kotlin.Any, other: kotlin.Any?): kotlin.Boolean
    ]

KtNameReferenceExpression(1188,1189): 'A'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/A
    ]

KtNamedFunction(1190,1245): 'fun equality1sealed(s: Sealed): Boolean = s == Sealed.A'
  null

KtParameterList(1209,1220): '(s: Sealed)'
  null

KtParameter(1210,1219): 's: Sealed'
  null

KtTypeReference(1213,1219): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(1213,1219): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(1213,1219): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(1222,1229): 'Boolean'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Boolean
    ]

KtUserType(1222,1229): 'Boolean'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Boolean
    ]

KtNameReferenceExpression(1222,1229): 'Boolean'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Boolean
    ]

KtBinaryExpression(1232,1245): 's == Sealed.A'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Any.equals(<dispatch receiver>: kotlin.Any, other: kotlin.Any?): kotlin.Boolean
    ]

KtNameReferenceExpression(1232,1233): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtOperationReferenceExpression(1234,1236): '=='
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Any.equals(<dispatch receiver>: kotlin.Any, other: kotlin.Any?): kotlin.Boolean
    ]

KtDotQualifiedExpression(1237,1245): 'Sealed.A'
  null

KtNameReferenceExpression(1237,1243): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(1244,1245): 'A'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.A
    ]

KtNamedFunction(1246,1300): 'fun equality1topLevel(s: Sealed): Boolean = s == foo.A'
  null

KtParameterList(1267,1278): '(s: Sealed)'
  null

KtParameter(1268,1277): 's: Sealed'
  null

KtTypeReference(1271,1277): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(1271,1277): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(1271,1277): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(1280,1287): 'Boolean'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Boolean
    ]

KtUserType(1280,1287): 'Boolean'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Boolean
    ]

KtNameReferenceExpression(1280,1287): 'Boolean'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Boolean
    ]

KtBinaryExpression(1290,1300): 's == foo.A'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Any.equals(<dispatch receiver>: kotlin.Any, other: kotlin.Any?): kotlin.Boolean
    ]

KtNameReferenceExpression(1290,1291): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtOperationReferenceExpression(1292,1294): '=='
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Any.equals(<dispatch receiver>: kotlin.Any, other: kotlin.Any?): kotlin.Boolean
    ]

KtDotQualifiedExpression(1295,1300): 'foo.A'
  null

KtNameReferenceExpression(1295,1298): 'foo'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo
    ]

KtNameReferenceExpression(1299,1300): 'A'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/A
    ]

KtNamedFunction(1301,1352): 'fun equality2ok(s: Sealed): Boolean = s == Sealed.C'
  null

KtParameterList(1316,1327): '(s: Sealed)'
  null

KtParameter(1317,1326): 's: Sealed'
  null

KtTypeReference(1320,1326): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtUserType(1320,1326): 'Sealed'
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(1320,1326): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtTypeReference(1329,1336): 'Boolean'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Boolean
    ]

KtUserType(1329,1336): 'Boolean'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Boolean
    ]

KtNameReferenceExpression(1329,1336): 'Boolean'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Boolean
    ]

KtBinaryExpression(1339,1352): 's == Sealed.C'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Any.equals(<dispatch receiver>: kotlin.Any, other: kotlin.Any?): kotlin.Boolean
    ]

KtNameReferenceExpression(1339,1340): 's'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      s: foo.Sealed
    ]

KtOperationReferenceExpression(1341,1343): '=='
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/Any.equals(<dispatch receiver>: kotlin.Any, other: kotlin.Any?): kotlin.Boolean
    ]

KtDotQualifiedExpression(1344,1352): 'Sealed.C'
  null

KtNameReferenceExpression(1344,1350): 'Sealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed
    ]

KtNameReferenceExpression(1351,1352): 'C'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      foo/Sealed.C
    ]
