Resolved constructor:
  KaConstructorSymbol:
    anchorPsi: KtTypeAlias
    annotations: []
    callableId: null
    containingClassId: test/MyTypeAliasSecond
    contextParameters: []
    contextReceivers: []
    hasStableParameterNames: true
    isActual: false
    isCompanion: false
    isExpect: false
    isExtension: false
    isExternal: false
    isPrimary: false
    location: CLASS
    modality: FINAL
    origin: TYPEALIASED_CONSTRUCTOR
    psi: KtTypeAlias
    realPsi: null
    receiverParameter: null
    returnType: KaUsualClassType:
      annotations: []
      typeArguments: [
        KaUsualClassType:
          annotations: []
          typeArguments: [
            KaUsualClassType:
              annotations: []
              typeArguments: [
                KaTypeParameterType:
                  annotations: []
                  type: T2
              ]
              type: test/Cell<T2>
          ]
          type: test/Cell<test/Cell<T2>>
      ]
      type: {test/MyTypeAliasSecond<T2>=} test/MyClass<test/Cell<test/Cell<T2>>>
    typeParameters: [
      KaTypeParameterSymbol:
        anchorPsi: KtTypeParameter
        annotations: []
        isActual: false
        isExpect: false
        isExternal: false
        isReified: false
        location: LOCAL
        modality: FINAL
        name: T2
        origin: SOURCE
        psi: KtTypeParameter
        realPsi: KtTypeParameter
        upperBounds: []
        variance: INVARIANT
        visibility: LOCAL
        getContainingFileSymbol: KaFileSymbol(withTypeParametersChanged_chained.kt)
        getContainingModule: KaSourceModule "Sources of main"
        deprecation: null
        importableFqName: null
    ]
    valueParameters: [
      KaValueParameterSymbol:
        anchorPsi: KtClass
        annotations: []
        callableId: null
        contextParameters: []
        contextReceivers: []
        hasDeclaredDefaultValue: false
        hasDefaultValue: false
        isActual: false
        isCompanion: false
        isCrossinline: false
        isDelegated: false
        isExpect: false
        isExtension: false
        isExternal: false
        isImplicitLambdaParameter: false
        isNoinline: false
        isVal: true
        isVararg: false
        location: LOCAL
        modality: FINAL
        name: t
        origin: TYPEALIASED_CONSTRUCTOR
        primaryConstructorProperty: null
        psi: KtClass
        realPsi: null
        receiverParameter: null
        returnType: KaUsualClassType:
          annotations: []
          typeArguments: [
            KaUsualClassType:
              annotations: []
              typeArguments: [
                KaTypeParameterType:
                  annotations: []
                  type: T2
              ]
              type: test/Cell<T2>
          ]
          type: test/Cell<test/Cell<T2>>
        typeParameters: []
        visibility: PUBLIC
        getContainingFileSymbol: KaFileSymbol(withTypeParametersChanged_chained.kt)
        getContainingJvmClassName: null
        getContainingModule: KaSourceModule "Sources of main"
        deprecation: null
        importableFqName: null
    ]
    visibility: PUBLIC
    getContainingFileSymbol: KaFileSymbol(withTypeParametersChanged_chained.kt)
    getContainingJvmClassName: null
    getContainingModule: KaSourceModule "Sources of main"
    deprecation: null
    javaMethodName: null
    importableFqName: test.MyTypeAliasSecond

Original constructor if type aliased:
  KaConstructorSymbol:
    anchorPsi: KtPrimaryConstructor
    annotations: []
    callableId: null
    containingClassId: test/MyClass
    contextParameters: []
    contextReceivers: []
    hasStableParameterNames: true
    isActual: false
    isCompanion: false
    isExpect: false
    isExtension: false
    isExternal: false
    isPrimary: true
    location: CLASS
    modality: FINAL
    origin: SOURCE
    psi: KtPrimaryConstructor
    realPsi: KtPrimaryConstructor
    receiverParameter: null
    returnType: KaUsualClassType:
      annotations: []
      typeArguments: [
        KaTypeParameterType:
          annotations: []
          type: T
      ]
      type: test/MyClass<T>
    typeParameters: [
      KaTypeParameterSymbol:
        anchorPsi: KtTypeParameter
        annotations: []
        isActual: false
        isExpect: false
        isExternal: false
        isReified: false
        location: CLASS
        modality: FINAL
        name: T
        origin: SOURCE
        psi: KtTypeParameter
        realPsi: KtTypeParameter
        upperBounds: []
        variance: INVARIANT
        visibility: LOCAL
        getContainingFileSymbol: KaFileSymbol(withTypeParametersChanged_chained.kt)
        getContainingModule: KaSourceModule "Sources of main"
        deprecation: null
        importableFqName: null
    ]
    valueParameters: [
      KaValueParameterSymbol:
        anchorPsi: KtParameter
        annotations: []
        callableId: null
        contextParameters: []
        contextReceivers: []
        hasDeclaredDefaultValue: false
        hasDefaultValue: false
        isActual: false
        isCompanion: false
        isCrossinline: false
        isDelegated: false
        isExpect: false
        isExtension: false
        isExternal: false
        isImplicitLambdaParameter: false
        isNoinline: false
        isVal: true
        isVararg: false
        location: LOCAL
        modality: FINAL
        name: t
        origin: SOURCE
        primaryConstructorProperty: null
        psi: KtParameter
        realPsi: KtParameter
        receiverParameter: null
        returnType: KaTypeParameterType:
          annotations: []
          type: T
        typeParameters: []
        visibility: PUBLIC
        getContainingFileSymbol: KaFileSymbol(withTypeParametersChanged_chained.kt)
        getContainingJvmClassName: test.MyClass
        getContainingModule: KaSourceModule "Sources of main"
        deprecation: null
        importableFqName: null
    ]
    visibility: PUBLIC
    getContainingFileSymbol: KaFileSymbol(withTypeParametersChanged_chained.kt)
    getContainingJvmClassName: test.MyClass
    getContainingModule: KaSourceModule "Sources of main"
    deprecation: null
    javaMethodName: null
    importableFqName: test.MyClass
