=== tests/cases/compiler/privacyCheckOnTypeParameterReferenceInConstructorParameter.ts === export class A{ >A : A >T1 : T1 constructor(callback: (self: A) => void) { >callback : (self: A) => void >self : A >A : A >T1 : T1 var child = new B(this); >child : B> >new B(this) : B> >B : typeof B >this : A } } export class B { >B : B >T2 : T2 constructor(parent: T2) { } >parent : T2 >T2 : T2 }