KtFile: 'typeParameter.kt'
  null

KtPackageDirective(0,0): ''
  null

KtImportList(0,0): ''
  null

KtClass(78,188): 'sealed interface MySealed {'
  null

KtDeclarationModifierList(78,84): 'sealed'
  null

KtClassBody(104,188): '{'
  null

KtClass(110,145): 'class Left(val x: String): MySealed'
  null

KtPrimaryConstructor(120,135): '(val x: String)'
  null

KtParameterList(120,135): '(val x: String)'
  null

KtParameter(121,134): 'val x: String'
  null

KtTypeReference(128,134): 'String'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/String
    ]

KtUserType(128,134): 'String'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/String
    ]

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

KtSuperTypeList(137,145): 'MySealed'
  null

KtSuperTypeEntry(137,145): 'MySealed'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

KtTypeReference(137,145): 'MySealed'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

KtUserType(137,145): 'MySealed'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

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

KtClass(150,186): 'class Right(val y: String): MySealed'
  null

KtPrimaryConstructor(161,176): '(val y: String)'
  null

KtParameterList(161,176): '(val y: String)'
  null

KtParameter(162,175): 'val y: String'
  null

KtTypeReference(169,175): 'String'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/String
    ]

KtUserType(169,175): 'String'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/String
    ]

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

KtSuperTypeList(178,186): 'MySealed'
  null

KtSuperTypeEntry(178,186): 'MySealed'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

KtTypeReference(178,186): 'MySealed'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

KtUserType(178,186): 'MySealed'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

KtNameReferenceExpression(178,186): 'MySealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

KtNamedFunction(190,276): 'fun <T : MySealed> T.getOrElse1() = when (this) {'
  null

KtTypeParameterList(194,208): '<T : MySealed>'
  null

KtTypeParameter(195,207): 'T : MySealed'
  null

KtTypeReference(199,207): 'MySealed'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

KtUserType(199,207): 'MySealed'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

KtNameReferenceExpression(199,207): 'MySealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

KtTypeReference(209,210): 'T'
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

KtUserType(209,210): 'T'
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

KtNameReferenceExpression(209,210): 'T'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

KtParameterList(221,223): '()'
  null

KtWhenExpression(226,276): 'when (this) {'
  null

KtThisExpression(232,236): 'this'
  KaSymbolResolutionSuccess:
    symbols = [
      KaReceiverParameterSymbol:
        anchorPsi: KtTypeReference
        annotations: []
        callableId: null
        contextParameters: []
        contextReceivers: []
        isActual: false
        isCompanion: false
        isDelegated: false
        isExpect: false
        isExtension: false
        isExternal: false
        isVal: true
        location: LOCAL
        modality: FINAL
        name: <receiver>
        origin: SOURCE
        owningCallableSymbol: KaNamedFunctionSymbol(/getOrElse1)
        psi: KtTypeReference
        realPsi: KtTypeReference
        receiverParameter: null
        returnType: KaTypeParameterType:
          annotations: []
          type: T
        typeParameters: []
        visibility: PUBLIC
    ]

KtNameReferenceExpression(232,236): 'this'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      KaReceiverParameterSymbol:
        anchorPsi: KtTypeReference
        annotations: []
        callableId: null
        contextParameters: []
        contextReceivers: []
        isActual: false
        isCompanion: false
        isDelegated: false
        isExpect: false
        isExtension: false
        isExternal: false
        isVal: true
        location: LOCAL
        modality: FINAL
        name: <receiver>
        origin: SOURCE
        owningCallableSymbol: KaNamedFunctionSymbol(/getOrElse1)
        psi: KtTypeReference
        realPsi: KtTypeReference
        receiverParameter: null
        returnType: KaTypeParameterType:
          annotations: []
          type: T
        typeParameters: []
        visibility: PUBLIC
    ]

KtWhenEntry(244,256): 'is Left -> x'
  null

KtWhenConditionIsPattern(244,251): 'is Left'
  null

KtTypeReference(247,251): 'Left'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed.Left
    ]

KtUserType(247,251): 'Left'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed.Left
    ]

KtNameReferenceExpression(247,251): 'Left'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: Used
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed.Left
    ]

KtNameReferenceExpression(255,256): 'x'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      val x: kotlin.String
    ]

KtWhenEntry(261,274): 'is Right -> y'
  null

KtWhenConditionIsPattern(261,269): 'is Right'
  null

KtTypeReference(264,269): 'Right'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed.Right
    ]

KtUserType(264,269): 'Right'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed.Right
    ]

KtNameReferenceExpression(264,269): 'Right'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: Used
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed.Right
    ]

KtNameReferenceExpression(273,274): 'y'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      val y: kotlin.String
    ]

KtNamedFunction(278,390): 'fun <T> T.getOrElse2() where T : MySealed, T : CharSequence = when (this) {'
  null

KtTypeParameterList(282,285): '<T>'
  null

KtTypeParameter(283,284): 'T'
  null

KtTypeReference(286,287): 'T'
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

KtUserType(286,287): 'T'
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

KtNameReferenceExpression(286,287): 'T'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

KtParameterList(298,300): '()'
  null

KtTypeConstraintList(307,337): 'T : MySealed, T : CharSequence'
  null

KtTypeConstraint(307,319): 'T : MySealed'
  null

KtNameReferenceExpression(307,308): 'T'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

KtTypeReference(311,319): 'MySealed'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

KtUserType(311,319): 'MySealed'
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

KtNameReferenceExpression(311,319): 'MySealed'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      /MySealed
    ]

KtTypeConstraint(321,337): 'T : CharSequence'
  null

KtNameReferenceExpression(321,322): 'T'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: true
  KaSymbolResolutionSuccess:
    symbols = [
      T
    ]

KtTypeReference(325,337): 'CharSequence'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/CharSequence
    ]

KtUserType(325,337): 'CharSequence'
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/CharSequence
    ]

KtNameReferenceExpression(325,337): 'CharSequence'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      kotlin/CharSequence
    ]

KtWhenExpression(340,390): 'when (this) {'
  null

KtThisExpression(346,350): 'this'
  KaSymbolResolutionSuccess:
    symbols = [
      KaReceiverParameterSymbol:
        anchorPsi: KtTypeReference
        annotations: []
        callableId: null
        contextParameters: []
        contextReceivers: []
        isActual: false
        isCompanion: false
        isDelegated: false
        isExpect: false
        isExtension: false
        isExternal: false
        isVal: true
        location: LOCAL
        modality: FINAL
        name: <receiver>
        origin: SOURCE
        owningCallableSymbol: KaNamedFunctionSymbol(/getOrElse2)
        psi: KtTypeReference
        realPsi: KtTypeReference
        receiverParameter: null
        returnType: KaTypeParameterType:
          annotations: []
          type: T
        typeParameters: []
        visibility: PUBLIC
    ]

KtNameReferenceExpression(346,350): 'this'
  isImplicitReferenceToCompanion: false
  contextSensitiveResolutionStatus: NotAvailable
  lookupLocally: false
  KaSymbolResolutionSuccess:
    symbols = [
      KaReceiverParameterSymbol:
        anchorPsi: KtTypeReference
        annotations: []
        callableId: null
        contextParameters: []
        contextReceivers: []
        isActual: false
        isCompanion: false
        isDelegated: false
        isExpect: false
        isExtension: false
        isExternal: false
        isVal: true
        location: LOCAL
        modality: FINAL
        name: <receiver>
        origin: SOURCE
        owningCallableSymbol: KaNamedFunctionSymbol(/getOrElse2)
        psi: KtTypeReference
        realPsi: KtTypeReference
        receiverParameter: null
        returnType: KaTypeParameterType:
          annotations: []
          type: T
        typeParameters: []
        visibility: PUBLIC
    ]

KtWhenEntry(358,370): 'is Left -> x'
  null

KtWhenConditionIsPattern(358,365): 'is Left'
  null

KtTypeReference(361,365): 'Left'
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Left'.>

KtUserType(361,365): 'Left'
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Left'.>

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

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

KtWhenEntry(375,388): 'is Right -> y'
  null

KtWhenConditionIsPattern(375,383): 'is Right'
  null

KtTypeReference(378,383): 'Right'
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Right'.>

KtUserType(378,383): 'Right'
  KaSymbolResolutionError:
    candidateSymbols = []
    diagnostic = ERROR<UNRESOLVED_REFERENCE: Unresolved reference 'Right'.>

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

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