element: context(B)
    val <T2, T3> C.foo get() = false
implicit values:
  KaImplicitReceiver:
    scopeIndexInTower = 1
    type = KaUsualClassType:
      annotations: []
      typeArguments: []
      type: A
    ownerSymbol = KaContextParameterSymbol:
      A: A

  KaImplicitReceiver:
    scopeIndexInTower = 2
    type = KaUsualClassType:
      annotations: []
      typeArguments: [
        KaTypeParameterType:
          annotations: []
          type: T1
      ]
      type: TopLevel<T1>
    ownerSymbol = KaNamedClassSymbol:
      /TopLevel

scopes:
  TypeParameterScope, index = 0
    packages: 0
    classifiers: 2
      KaTypeParameterSymbol:
        annotations: []
        compilerVisibility: Local
        isActual: false
        isExpect: false
        isReified: false
        location: LOCAL
        modality: FINAL
        name: T2
        origin: SOURCE
        upperBounds: []
        variance: INVARIANT
        visibility: LOCAL
      KaTypeParameterSymbol:
        annotations: []
        compilerVisibility: Local
        isActual: false
        isExpect: false
        isReified: false
        location: LOCAL
        modality: FINAL
        name: T3
        origin: SOURCE
        upperBounds: []
        variance: INVARIANT
        visibility: LOCAL
    callables: 0
    constructors: 0

  TypeScope, index = 1
    packages: 0
    classifiers: 0
    callables: 3
      KaNamedFunctionSymbol:
        annotations: []
        callableId: kotlin/Any.equals
        compilerVisibility: Public
        contextParameters: []
        contextReceivers: []
        contractEffects: []
        hasStableParameterNames: true
        isActual: false
        isBuiltinFunctionInvoke: false
        isExpect: false
        isExtension: false
        isExternal: false
        isInfix: false
        isInline: false
        isOperator: true
        isOverride: false
        isStatic: false
        isSuspend: false
        isTailRec: false
        location: CLASS
        modality: OPEN
        name: equals
        origin: LIBRARY
        receiverParameter: null
        returnType: KaUsualClassType:
          annotations: []
          typeArguments: []
          type: kotlin/Boolean
        typeParameters: []
        valueParameters: [
          KaValueParameterSymbol:
            annotations: []
            callableId: null
            compilerVisibility: Public
            contextReceivers: []
            generatedPrimaryConstructorProperty: null
            hasDefaultValue: false
            isActual: false
            isCrossinline: false
            isExpect: false
            isExtension: false
            isImplicitLambdaParameter: false
            isNoinline: false
            isVal: true
            isVararg: false
            location: LOCAL
            modality: FINAL
            name: other
            origin: LIBRARY
            receiverParameter: null
            returnType: KaUsualClassType:
              annotations: []
              typeArguments: []
              type: kotlin/Any?
            visibility: PUBLIC
        ]
        visibility: PUBLIC
      KaNamedFunctionSymbol:
        annotations: []
        callableId: kotlin/Any.hashCode
        compilerVisibility: Public
        contextParameters: []
        contextReceivers: []
        contractEffects: []
        hasStableParameterNames: true
        isActual: false
        isBuiltinFunctionInvoke: false
        isExpect: false
        isExtension: false
        isExternal: false
        isInfix: false
        isInline: false
        isOperator: false
        isOverride: false
        isStatic: false
        isSuspend: false
        isTailRec: false
        location: CLASS
        modality: OPEN
        name: hashCode
        origin: LIBRARY
        receiverParameter: null
        returnType: KaUsualClassType:
          annotations: []
          typeArguments: []
          type: kotlin/Int
        typeParameters: []
        valueParameters: []
        visibility: PUBLIC
      KaNamedFunctionSymbol:
        annotations: []
        callableId: kotlin/Any.toString
        compilerVisibility: Public
        contextParameters: []
        contextReceivers: []
        contractEffects: []
        hasStableParameterNames: true
        isActual: false
        isBuiltinFunctionInvoke: false
        isExpect: false
        isExtension: false
        isExternal: false
        isInfix: false
        isInline: false
        isOperator: false
        isOverride: false
        isStatic: false
        isSuspend: false
        isTailRec: false
        location: CLASS
        modality: OPEN
        name: toString
        origin: LIBRARY
        receiverParameter: null
        returnType: KaUsualClassType:
          annotations: []
          typeArguments: []
          type: kotlin/String
        typeParameters: []
        valueParameters: []
        visibility: PUBLIC
    constructors: 1
      KaConstructorSymbol:
        annotations: []
        callableId: null
        compilerVisibility: Public
        containingClassId: A
        contextReceivers: []
        hasStableParameterNames: true
        isActual: false
        isExpect: false
        isExtension: false
        isPrimary: true
        location: CLASS
        modality: FINAL
        origin: SOURCE_MEMBER_GENERATED
        receiverParameter: null
        returnType: KaUsualClassType:
          annotations: []
          typeArguments: []
          type: A
        typeParameters: []
        valueParameters: []
        visibility: PUBLIC

  TypeScope, index = 2
    packages: 0
    classifiers: 0
    callables: 4
      KaKotlinPropertySymbol:
        annotations: []
        backingFieldSymbol: KaBackingFieldSymbol:
          annotations: []
          callableId: null
          compilerVisibility: Private
          contextReceivers: []
          isActual: false
          isExpect: false
          isExtension: false
          isVal: true
          location: PROPERTY
          modality: FINAL
          name: field
          origin: PROPERTY_BACKING_FIELD
          owningProperty: KaKotlinPropertySymbol(/TopLevel.foo)
          receiverParameter: null
          returnType: KaUsualClassType:
            annotations: []
            typeArguments: []
            type: kotlin/Boolean
          visibility: PRIVATE
        callableId: /TopLevel.foo
        compilerVisibility: Public
        contextParameters: [
          KaContextParameterSymbol:
            annotations: []
            callableId: null
            compilerVisibility: Public
            contextReceivers: []
            isActual: false
            isExpect: false
            isExtension: false
            isVal: true
            location: LOCAL
            modality: FINAL
            name: B
            origin: SOURCE
            receiverParameter: null
            returnType: KaUsualClassType:
              annotations: []
              typeArguments: []
              type: B
            visibility: PUBLIC
        ]
        contextReceivers: [
          KaContextReceiver:
            label: B
            type: KaUsualClassType:
              annotations: []
              typeArguments: []
              type: B
        ]
        getter: KaPropertyGetterSymbol:
          annotations: []
          callableId: null
          compilerVisibility: Public
          contextReceivers: []
          hasStableParameterNames: true
          isActual: false
          isExpect: false
          isExtension: false
          isInline: false
          isNotDefault: true
          isOverride: false
          location: PROPERTY
          modality: FINAL
          origin: SOURCE
          receiverParameter: KaReceiverParameterSymbol:
            annotations: []
            callableId: null
            compilerVisibility: Public
            contextReceivers: []
            isActual: false
            isExpect: false
            isExtension: false
            isVal: true
            location: LOCAL
            modality: FINAL
            name: <receiver>
            origin: SOURCE
            owningCallableSymbol: KaKotlinPropertySymbol(/TopLevel.foo)
            receiverParameter: null
            returnType: KaUsualClassType:
              annotations: []
              typeArguments: []
              type: C
            visibility: PUBLIC
          returnType: KaUsualClassType:
            annotations: []
            typeArguments: []
            type: kotlin/Boolean
          valueParameters: []
          visibility: PUBLIC
        hasBackingField: false
        hasGetter: true
        hasSetter: false
        initializer: null
        isActual: false
        isConst: false
        isDelegatedProperty: false
        isExpect: false
        isExtension: true
        isExternal: false
        isFromPrimaryConstructor: false
        isLateInit: false
        isOverride: false
        isStatic: false
        isVal: true
        location: CLASS
        modality: FINAL
        name: foo
        origin: SOURCE
        receiverParameter: KaReceiverParameterSymbol:
          annotations: []
          callableId: null
          compilerVisibility: Public
          contextReceivers: []
          isActual: false
          isExpect: false
          isExtension: false
          isVal: true
          location: LOCAL
          modality: FINAL
          name: <receiver>
          origin: SOURCE
          owningCallableSymbol: KaKotlinPropertySymbol(/TopLevel.foo)
          receiverParameter: null
          returnType: KaUsualClassType:
            annotations: []
            typeArguments: []
            type: C
          visibility: PUBLIC
        returnType: KaUsualClassType:
          annotations: []
          typeArguments: []
          type: kotlin/Boolean
        setter: null
        typeParameters: [
          KaTypeParameterSymbol:
            annotations: []
            compilerVisibility: Local
            isActual: false
            isExpect: false
            isReified: false
            location: LOCAL
            modality: FINAL
            name: T2
            origin: SOURCE
            upperBounds: []
            variance: INVARIANT
            visibility: LOCAL
          KaTypeParameterSymbol:
            annotations: []
            compilerVisibility: Local
            isActual: false
            isExpect: false
            isReified: false
            location: LOCAL
            modality: FINAL
            name: T3
            origin: SOURCE
            upperBounds: []
            variance: INVARIANT
            visibility: LOCAL
        ]
        visibility: PUBLIC
      KaNamedFunctionSymbol:
        annotations: []
        callableId: kotlin/Any.equals
        compilerVisibility: Public
        contextParameters: []
        contextReceivers: []
        contractEffects: []
        hasStableParameterNames: true
        isActual: false
        isBuiltinFunctionInvoke: false
        isExpect: false
        isExtension: false
        isExternal: false
        isInfix: false
        isInline: false
        isOperator: true
        isOverride: false
        isStatic: false
        isSuspend: false
        isTailRec: false
        location: CLASS
        modality: OPEN
        name: equals
        origin: LIBRARY
        receiverParameter: null
        returnType: KaUsualClassType:
          annotations: []
          typeArguments: []
          type: kotlin/Boolean
        typeParameters: []
        valueParameters: [
          KaValueParameterSymbol:
            annotations: []
            callableId: null
            compilerVisibility: Public
            contextReceivers: []
            generatedPrimaryConstructorProperty: null
            hasDefaultValue: false
            isActual: false
            isCrossinline: false
            isExpect: false
            isExtension: false
            isImplicitLambdaParameter: false
            isNoinline: false
            isVal: true
            isVararg: false
            location: LOCAL
            modality: FINAL
            name: other
            origin: LIBRARY
            receiverParameter: null
            returnType: KaUsualClassType:
              annotations: []
              typeArguments: []
              type: kotlin/Any?
            visibility: PUBLIC
        ]
        visibility: PUBLIC
      KaNamedFunctionSymbol:
        annotations: []
        callableId: kotlin/Any.hashCode
        compilerVisibility: Public
        contextParameters: []
        contextReceivers: []
        contractEffects: []
        hasStableParameterNames: true
        isActual: false
        isBuiltinFunctionInvoke: false
        isExpect: false
        isExtension: false
        isExternal: false
        isInfix: false
        isInline: false
        isOperator: false
        isOverride: false
        isStatic: false
        isSuspend: false
        isTailRec: false
        location: CLASS
        modality: OPEN
        name: hashCode
        origin: LIBRARY
        receiverParameter: null
        returnType: KaUsualClassType:
          annotations: []
          typeArguments: []
          type: kotlin/Int
        typeParameters: []
        valueParameters: []
        visibility: PUBLIC
      KaNamedFunctionSymbol:
        annotations: []
        callableId: kotlin/Any.toString
        compilerVisibility: Public
        contextParameters: []
        contextReceivers: []
        contractEffects: []
        hasStableParameterNames: true
        isActual: false
        isBuiltinFunctionInvoke: false
        isExpect: false
        isExtension: false
        isExternal: false
        isInfix: false
        isInline: false
        isOperator: false
        isOverride: false
        isStatic: false
        isSuspend: false
        isTailRec: false
        location: CLASS
        modality: OPEN
        name: toString
        origin: LIBRARY
        receiverParameter: null
        returnType: KaUsualClassType:
          annotations: []
          typeArguments: []
          type: kotlin/String
        typeParameters: []
        valueParameters: []
        visibility: PUBLIC
    constructors: 1
      KaConstructorSymbol:
        annotations: []
        callableId: null
        compilerVisibility: Public
        containingClassId: TopLevel
        contextReceivers: []
        hasStableParameterNames: true
        isActual: false
        isExpect: false
        isExtension: false
        isPrimary: true
        location: CLASS
        modality: FINAL
        origin: SOURCE_MEMBER_GENERATED
        receiverParameter: null
        returnType: KaUsualClassType:
          annotations: []
          typeArguments: [
            KaTypeParameterType:
              annotations: []
              type: T1
          ]
          type: TopLevel<T1>
        typeParameters: [
          KaTypeParameterSymbol:
            annotations: []
            compilerVisibility: Local
            isActual: false
            isExpect: false
            isReified: false
            location: CLASS
            modality: FINAL
            name: T1
            origin: SOURCE
            upperBounds: []
            variance: INVARIANT
            visibility: LOCAL
        ]
        valueParameters: []
        visibility: PUBLIC

  TypeParameterScope, index = 3
    packages: 0
    classifiers: 1
      KaTypeParameterSymbol:
        annotations: []
        compilerVisibility: Local
        isActual: false
        isExpect: false
        isReified: false
        location: CLASS
        modality: FINAL
        name: T1
        origin: SOURCE
        upperBounds: []
        variance: INVARIANT
        visibility: LOCAL
    callables: 0
    constructors: 0

  ExplicitSimpleImportingScope, index = 4
    packages: 0
    classifiers: 0
    callables: 0
    constructors: 0

  PackageMemberScope, index = 5
    packages: 6
      KaPackageSymbol:
        fqName: META-INF
        location: TOP_LEVEL
        origin: SOURCE
      KaPackageSymbol:
        fqName: java
        location: TOP_LEVEL
        origin: SOURCE
      KaPackageSymbol:
        fqName: javax
        location: TOP_LEVEL
        origin: SOURCE
      KaPackageSymbol:
        fqName: kotlin
        location: TOP_LEVEL
        origin: SOURCE
      KaPackageSymbol:
        fqName: org
        location: TOP_LEVEL
        origin: SOURCE
      KaPackageSymbol:
        fqName: sun
        location: TOP_LEVEL
        origin: SOURCE
    classifiers: 4
      KaNamedClassSymbol:
        annotations: []
        classId: A
        classKind: CLASS
        companionObject: null
        compilerVisibility: Public
        contextReceivers: []
        isActual: false
        isData: false
        isExpect: false
        isExternal: false
        isFun: false
        isInline: false
        isInner: false
        location: TOP_LEVEL
        modality: FINAL
        name: A
        origin: SOURCE
        superTypes: [
          KaUsualClassType:
            annotations: []
            typeArguments: []
            type: kotlin/Any
        ]
        typeParameters: []
        visibility: PUBLIC
      KaNamedClassSymbol:
        annotations: []
        classId: B
        classKind: CLASS
        companionObject: null
        compilerVisibility: Public
        contextReceivers: []
        isActual: false
        isData: false
        isExpect: false
        isExternal: false
        isFun: false
        isInline: false
        isInner: false
        location: TOP_LEVEL
        modality: FINAL
        name: B
        origin: SOURCE
        superTypes: [
          KaUsualClassType:
            annotations: []
            typeArguments: []
            type: kotlin/Any
        ]
        typeParameters: []
        visibility: PUBLIC
      KaNamedClassSymbol:
        annotations: []
        classId: C
        classKind: CLASS
        companionObject: null
        compilerVisibility: Public
        contextReceivers: []
        isActual: false
        isData: false
        isExpect: false
        isExternal: false
        isFun: false
        isInline: false
        isInner: false
        location: TOP_LEVEL
        modality: FINAL
        name: C
        origin: SOURCE
        superTypes: [
          KaUsualClassType:
            annotations: []
            typeArguments: []
            type: kotlin/Any
        ]
        typeParameters: []
        visibility: PUBLIC
      KaNamedClassSymbol:
        annotations: []
        classId: TopLevel
        classKind: CLASS
        companionObject: null
        compilerVisibility: Public
        contextReceivers: [
          KaContextReceiver:
            label: A
            type: KaUsualClassType:
              annotations: []
              typeArguments: []
              type: A
        ]
        isActual: false
        isData: false
        isExpect: false
        isExternal: false
        isFun: false
        isInline: false
        isInner: false
        location: TOP_LEVEL
        modality: FINAL
        name: TopLevel
        origin: SOURCE
        superTypes: [
          KaUsualClassType:
            annotations: []
            typeArguments: []
            type: kotlin/Any
        ]
        typeParameters: [
          KaTypeParameterSymbol:
            annotations: []
            compilerVisibility: Local
            isActual: false
            isExpect: false
            isReified: false
            location: CLASS
            modality: FINAL
            name: T1
            origin: SOURCE
            upperBounds: []
            variance: INVARIANT
            visibility: LOCAL
        ]
        visibility: PUBLIC
    callables: 0
    constructors: 0

  DefaultSimpleImportingScope, index = 6

  DefaultSimpleImportingScope, index = 7

  ExplicitStarImportingScope, index = 8
    packages: 0
    classifiers: 0
    callables: 0
    constructors: 0

  DefaultStarImportingScope, index = 9

