KtFile: 'innerClassInGeneric.kt'
  NO_CANDIDATES

KtPackageDirective(0,0): ''
  NO_CANDIDATES

KtImportList(0,0): ''
  NO_CANDIDATES

KtClass(78,265): 'sealed class A<T> {'
  NO_CANDIDATES

KtDeclarationModifierList(78,84): 'sealed'
  NO_CANDIDATES

KtTypeParameterList(92,95): '<T>'
  NO_CANDIDATES

KtTypeParameter(93,94): 'T'
  NO_CANDIDATES

KtClassBody(96,265): '{'
  NO_CANDIDATES

KtClass(102,168): 'inner class B1 : A<String>() {'
  NO_CANDIDATES

KtDeclarationModifierList(102,107): 'inner'
  NO_CANDIDATES

KtSuperTypeList(119,130): 'A<String>()'
  NO_CANDIDATES

KtSuperTypeCallEntry(119,130): 'A<String>()'
  KaApplicableCallCandidate:
    candidate = KaDelegatedConstructorCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      kind = SUPER_CALL
      signature = KaFunctionSignature:
        receiverType = null
        returnType = A<kotlin.String>
        symbol = <constructor>(): A<T>
        valueParameters = []
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {
        T -> (kotlin.String)
      }
      valueArgumentMapping = {}
    isInBestCandidates = true

KtConstructorCalleeExpression(119,128): 'A<String>'
  KaApplicableCallCandidate:
    candidate = KaDelegatedConstructorCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      kind = SUPER_CALL
      signature = KaFunctionSignature:
        receiverType = null
        returnType = A<kotlin.String>
        symbol = <constructor>(): A<T>
        valueParameters = []
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {
        T -> (kotlin.String)
      }
      valueArgumentMapping = {}
    isInBestCandidates = true

KtTypeReference(119,128): 'A<String>'
  NO_CANDIDATES

KtUserType(119,128): 'A<String>'
  NO_CANDIDATES

KtNameReferenceExpression(119,120): 'A'
  KaApplicableCallCandidate:
    candidate = KaDelegatedConstructorCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      kind = SUPER_CALL
      signature = KaFunctionSignature:
        receiverType = null
        returnType = A<kotlin.String>
        symbol = <constructor>(): A<T>
        valueParameters = []
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {
        T -> (kotlin.String)
      }
      valueArgumentMapping = {}
    isInBestCandidates = true

KtTypeArgumentList(120,128): '<String>'
  NO_CANDIDATES

KtTypeProjection(121,127): 'String'
  NO_CANDIDATES

KtTypeReference(121,127): 'String'
  NO_CANDIDATES

KtUserType(121,127): 'String'
  NO_CANDIDATES

KtNameReferenceExpression(121,127): 'String'
  NO_CANDIDATES

KtValueArgumentList(128,130): '()'
  NO_CANDIDATES

KtClassBody(131,168): '{'
  NO_CANDIDATES

KtNamedFunction(141,162): 'fun foo(): T = TODO()'
  NO_CANDIDATES

KtParameterList(148,150): '()'
  NO_CANDIDATES

KtTypeReference(152,153): 'T'
  NO_CANDIDATES

KtUserType(152,153): 'T'
  NO_CANDIDATES

KtNameReferenceExpression(152,153): 'T'
  NO_CANDIDATES

KtCallExpression(156,162): 'TODO()'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Nothing
        symbol = kotlin/TODO(): kotlin.Nothing
        valueParameters = []
        contextParameters = []
        callableId = kotlin/TODO
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Nothing
        symbol = kotlin/TODO(reason: kotlin.String): kotlin.Nothing
        valueParameters = [
          KaVariableSignature:
            name = reason
            receiverType = null
            returnType = kotlin.String
            symbol = reason: kotlin.String
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/TODO
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    diagnostic = ERROR<NO_VALUE_FOR_PARAMETER: No value passed for parameter 'reason'.>
    isInBestCandidates = false

KtNameReferenceExpression(156,160): 'TODO'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Nothing
        symbol = kotlin/TODO(): kotlin.Nothing
        valueParameters = []
        contextParameters = []
        callableId = kotlin/TODO
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Nothing
        symbol = kotlin/TODO(reason: kotlin.String): kotlin.Nothing
        valueParameters = [
          KaVariableSignature:
            name = reason
            receiverType = null
            returnType = kotlin.String
            symbol = reason: kotlin.String
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/TODO
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    diagnostic = ERROR<NO_VALUE_FOR_PARAMETER: No value passed for parameter 'reason'.>
    isInBestCandidates = false

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

KtClass(174,240): 'inner class B2 : A<String>() {'
  NO_CANDIDATES

KtDeclarationModifierList(174,179): 'inner'
  NO_CANDIDATES

KtSuperTypeList(191,202): 'A<String>()'
  NO_CANDIDATES

KtSuperTypeCallEntry(191,202): 'A<String>()'
  KaApplicableCallCandidate:
    candidate = KaDelegatedConstructorCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      kind = SUPER_CALL
      signature = KaFunctionSignature:
        receiverType = null
        returnType = A<kotlin.String>
        symbol = <constructor>(): A<T>
        valueParameters = []
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {
        T -> (kotlin.String)
      }
      valueArgumentMapping = {}
    isInBestCandidates = true

KtConstructorCalleeExpression(191,200): 'A<String>'
  KaApplicableCallCandidate:
    candidate = KaDelegatedConstructorCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      kind = SUPER_CALL
      signature = KaFunctionSignature:
        receiverType = null
        returnType = A<kotlin.String>
        symbol = <constructor>(): A<T>
        valueParameters = []
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {
        T -> (kotlin.String)
      }
      valueArgumentMapping = {}
    isInBestCandidates = true

KtTypeReference(191,200): 'A<String>'
  NO_CANDIDATES

KtUserType(191,200): 'A<String>'
  NO_CANDIDATES

KtNameReferenceExpression(191,192): 'A'
  KaApplicableCallCandidate:
    candidate = KaDelegatedConstructorCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      kind = SUPER_CALL
      signature = KaFunctionSignature:
        receiverType = null
        returnType = A<kotlin.String>
        symbol = <constructor>(): A<T>
        valueParameters = []
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {
        T -> (kotlin.String)
      }
      valueArgumentMapping = {}
    isInBestCandidates = true

KtTypeArgumentList(192,200): '<String>'
  NO_CANDIDATES

KtTypeProjection(193,199): 'String'
  NO_CANDIDATES

KtTypeReference(193,199): 'String'
  NO_CANDIDATES

KtUserType(193,199): 'String'
  NO_CANDIDATES

KtNameReferenceExpression(193,199): 'String'
  NO_CANDIDATES

KtValueArgumentList(200,202): '()'
  NO_CANDIDATES

KtClassBody(203,240): '{'
  NO_CANDIDATES

KtNamedFunction(213,234): 'fun foo(): T = TODO()'
  NO_CANDIDATES

KtParameterList(220,222): '()'
  NO_CANDIDATES

KtTypeReference(224,225): 'T'
  NO_CANDIDATES

KtUserType(224,225): 'T'
  NO_CANDIDATES

KtNameReferenceExpression(224,225): 'T'
  NO_CANDIDATES

KtCallExpression(228,234): 'TODO()'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Nothing
        symbol = kotlin/TODO(): kotlin.Nothing
        valueParameters = []
        contextParameters = []
        callableId = kotlin/TODO
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Nothing
        symbol = kotlin/TODO(reason: kotlin.String): kotlin.Nothing
        valueParameters = [
          KaVariableSignature:
            name = reason
            receiverType = null
            returnType = kotlin.String
            symbol = reason: kotlin.String
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/TODO
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    diagnostic = ERROR<NO_VALUE_FOR_PARAMETER: No value passed for parameter 'reason'.>
    isInBestCandidates = false

KtNameReferenceExpression(228,232): 'TODO'
  KaApplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Nothing
        symbol = kotlin/TODO(): kotlin.Nothing
        valueParameters = []
        contextParameters = []
        callableId = kotlin/TODO
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    isInBestCandidates = true

  KaInapplicableCallCandidate:
    candidate = KaSimpleFunctionCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      signature = KaFunctionSignature:
        receiverType = null
        returnType = kotlin.Nothing
        symbol = kotlin/TODO(reason: kotlin.String): kotlin.Nothing
        valueParameters = [
          KaVariableSignature:
            name = reason
            receiverType = null
            returnType = kotlin.String
            symbol = reason: kotlin.String
            contextParameters = []
            callableId = null
        ]
        contextParameters = []
        callableId = kotlin/TODO
      typeArgumentsMapping = {}
      valueArgumentMapping = {}
    diagnostic = ERROR<NO_VALUE_FOR_PARAMETER: No value passed for parameter 'reason'.>
    isInBestCandidates = false

KtValueArgumentList(232,234): '()'
  NO_CANDIDATES

KtClass(245,263): 'class C : A<Int>()'
  NO_CANDIDATES

KtSuperTypeList(255,263): 'A<Int>()'
  NO_CANDIDATES

KtSuperTypeCallEntry(255,263): 'A<Int>()'
  KaApplicableCallCandidate:
    candidate = KaDelegatedConstructorCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      kind = SUPER_CALL
      signature = KaFunctionSignature:
        receiverType = null
        returnType = A<kotlin.Int>
        symbol = <constructor>(): A<T>
        valueParameters = []
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {
        T -> (kotlin.Int)
      }
      valueArgumentMapping = {}
    isInBestCandidates = true

KtConstructorCalleeExpression(255,261): 'A<Int>'
  KaApplicableCallCandidate:
    candidate = KaDelegatedConstructorCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      kind = SUPER_CALL
      signature = KaFunctionSignature:
        receiverType = null
        returnType = A<kotlin.Int>
        symbol = <constructor>(): A<T>
        valueParameters = []
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {
        T -> (kotlin.Int)
      }
      valueArgumentMapping = {}
    isInBestCandidates = true

KtTypeReference(255,261): 'A<Int>'
  NO_CANDIDATES

KtUserType(255,261): 'A<Int>'
  NO_CANDIDATES

KtNameReferenceExpression(255,256): 'A'
  KaApplicableCallCandidate:
    candidate = KaDelegatedConstructorCall:
      contextArgumentMapping = {}
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      kind = SUPER_CALL
      signature = KaFunctionSignature:
        receiverType = null
        returnType = A<kotlin.Int>
        symbol = <constructor>(): A<T>
        valueParameters = []
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {
        T -> (kotlin.Int)
      }
      valueArgumentMapping = {}
    isInBestCandidates = true

KtTypeArgumentList(256,261): '<Int>'
  NO_CANDIDATES

KtTypeProjection(257,260): 'Int'
  NO_CANDIDATES

KtTypeReference(257,260): 'Int'
  NO_CANDIDATES

KtUserType(257,260): 'Int'
  NO_CANDIDATES

KtNameReferenceExpression(257,260): 'Int'
  NO_CANDIDATES

KtValueArgumentList(261,263): '()'
  NO_CANDIDATES

KtNamedFunction(267,475): 'fun foo(x: A<Int>) {'
  NO_CANDIDATES

KtParameterList(274,285): '(x: A<Int>)'
  NO_CANDIDATES

KtParameter(275,284): 'x: A<Int>'
  NO_CANDIDATES

KtTypeReference(278,284): 'A<Int>'
  NO_CANDIDATES

KtUserType(278,284): 'A<Int>'
  NO_CANDIDATES

KtNameReferenceExpression(278,279): 'A'
  NO_CANDIDATES

KtTypeArgumentList(279,284): '<Int>'
  NO_CANDIDATES

KtTypeProjection(280,283): 'Int'
  NO_CANDIDATES

KtTypeReference(280,283): 'Int'
  NO_CANDIDATES

KtUserType(280,283): 'Int'
  NO_CANDIDATES

KtNameReferenceExpression(280,283): 'Int'
  NO_CANDIDATES

KtBlockExpression(286,475): '{'
  NO_CANDIDATES

KtWhenExpression(292,383): 'when {'
  NO_CANDIDATES

KtWhenEntry(307,325): 'x is A<*>.B1 -> {}'
  NO_CANDIDATES

KtWhenConditionWithExpression(307,319): 'x is A<*>.B1'
  NO_CANDIDATES

KtIsExpression(307,319): 'x is A<*>.B1'
  NO_CANDIDATES

KtNameReferenceExpression(307,308): 'x'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = x
        receiverType = null
        returnType = A<kotlin.Int>
        symbol = x: A<kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtOperationReferenceExpression(309,311): 'is'
  NO_CANDIDATES

KtTypeReference(312,319): 'A<*>.B1'
  NO_CANDIDATES

KtUserType(312,319): 'A<*>.B1'
  NO_CANDIDATES

KtUserType(312,316): 'A<*>'
  NO_CANDIDATES

KtNameReferenceExpression(312,313): 'A'
  NO_CANDIDATES

KtTypeArgumentList(313,316): '<*>'
  NO_CANDIDATES

KtTypeProjection(314,315): '*'
  NO_CANDIDATES

KtNameReferenceExpression(317,319): 'B1'
  NO_CANDIDATES

KtBlockExpression(323,325): '{}'
  NO_CANDIDATES

KtWhenEntry(334,354): 'x is A<Int>.B2 -> {}'
  NO_CANDIDATES

KtWhenConditionWithExpression(334,348): 'x is A<Int>.B2'
  NO_CANDIDATES

KtIsExpression(334,348): 'x is A<Int>.B2'
  NO_CANDIDATES

KtNameReferenceExpression(334,335): 'x'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = x
        receiverType = null
        returnType = A<kotlin.Int>
        symbol = x: A<kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtOperationReferenceExpression(336,338): 'is'
  NO_CANDIDATES

KtTypeReference(339,348): 'A<Int>.B2'
  NO_CANDIDATES

KtUserType(339,348): 'A<Int>.B2'
  NO_CANDIDATES

KtUserType(339,345): 'A<Int>'
  NO_CANDIDATES

KtNameReferenceExpression(339,340): 'A'
  NO_CANDIDATES

KtTypeArgumentList(340,345): '<Int>'
  NO_CANDIDATES

KtTypeProjection(341,344): 'Int'
  NO_CANDIDATES

KtTypeReference(341,344): 'Int'
  NO_CANDIDATES

KtUserType(341,344): 'Int'
  NO_CANDIDATES

KtNameReferenceExpression(341,344): 'Int'
  NO_CANDIDATES

KtNameReferenceExpression(346,348): 'B2'
  NO_CANDIDATES

KtBlockExpression(352,354): '{}'
  NO_CANDIDATES

KtWhenEntry(363,377): 'x is A.C -> {}'
  NO_CANDIDATES

KtWhenConditionWithExpression(363,371): 'x is A.C'
  NO_CANDIDATES

KtIsExpression(363,371): 'x is A.C'
  NO_CANDIDATES

KtNameReferenceExpression(363,364): 'x'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = x
        receiverType = null
        returnType = A<kotlin.Int>
        symbol = x: A<kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtOperationReferenceExpression(365,367): 'is'
  NO_CANDIDATES

KtTypeReference(368,371): 'A.C'
  NO_CANDIDATES

KtUserType(368,371): 'A.C'
  NO_CANDIDATES

KtUserType(368,369): 'A'
  NO_CANDIDATES

KtNameReferenceExpression(368,369): 'A'
  NO_CANDIDATES

KtNameReferenceExpression(370,371): 'C'
  NO_CANDIDATES

KtBlockExpression(375,377): '{}'
  NO_CANDIDATES

KtWhenExpression(389,473): 'when {'
  NO_CANDIDATES

KtWhenEntry(404,417): 'x is B1 -> {}'
  NO_CANDIDATES

KtWhenConditionWithExpression(404,411): 'x is B1'
  NO_CANDIDATES

KtIsExpression(404,411): 'x is B1'
  NO_CANDIDATES

KtNameReferenceExpression(404,405): 'x'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = x
        receiverType = null
        returnType = A<kotlin.Int>
        symbol = x: A<kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtOperationReferenceExpression(406,408): 'is'
  NO_CANDIDATES

KtTypeReference(409,411): 'B1'
  NO_CANDIDATES

KtUserType(409,411): 'B1'
  NO_CANDIDATES

KtNameReferenceExpression(409,411): 'B1'
  NO_CANDIDATES

KtBlockExpression(415,417): '{}'
  NO_CANDIDATES

KtWhenEntry(426,439): 'x is B2 -> {}'
  NO_CANDIDATES

KtWhenConditionWithExpression(426,433): 'x is B2'
  NO_CANDIDATES

KtIsExpression(426,433): 'x is B2'
  NO_CANDIDATES

KtNameReferenceExpression(426,427): 'x'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = x
        receiverType = null
        returnType = A<kotlin.Int>
        symbol = x: A<kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtOperationReferenceExpression(428,430): 'is'
  NO_CANDIDATES

KtTypeReference(431,433): 'B2'
  NO_CANDIDATES

KtUserType(431,433): 'B2'
  NO_CANDIDATES

KtNameReferenceExpression(431,433): 'B2'
  NO_CANDIDATES

KtBlockExpression(437,439): '{}'
  NO_CANDIDATES

KtWhenEntry(448,460): 'x is C -> {}'
  NO_CANDIDATES

KtWhenConditionWithExpression(448,454): 'x is C'
  NO_CANDIDATES

KtIsExpression(448,454): 'x is C'
  NO_CANDIDATES

KtNameReferenceExpression(448,449): 'x'
  KaApplicableCallCandidate:
    candidate = KaSimpleVariableAccessCall:
      contextArguments = []
      dispatchReceiver = null
      extensionReceiver = null
      isContextSensitive = false
      kind = Read
      signature = KaVariableSignature:
        name = x
        receiverType = null
        returnType = A<kotlin.Int>
        symbol = x: A<kotlin.Int>
        contextParameters = []
        callableId = null
      typeArgumentsMapping = {}
    isInBestCandidates = true

KtOperationReferenceExpression(450,452): 'is'
  NO_CANDIDATES

KtTypeReference(453,454): 'C'
  NO_CANDIDATES

KtUserType(453,454): 'C'
  NO_CANDIDATES

KtNameReferenceExpression(453,454): 'C'
  NO_CANDIDATES

KtBlockExpression(458,460): '{}'
  NO_CANDIDATES
