tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorParameterProperties.ts(8,10): error TS2341: Property 'C.x' is inaccessible.
tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorParameterProperties.ts(17,10): error TS2341: Property 'D.x' is inaccessible.
tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorParameterProperties.ts(18,12): error TS2339: Property 'a' does not exist on type 'D<string>'.


==== tests/cases/conformance/classes/constructorDeclarations/constructorParameters/constructorParameterProperties.ts (3 errors) ====
    class C {
        y: string;
        constructor(private x: string) { }
    }
    
    var c: C;
    var r = c.y;
    var r2 = c.x; // error
             ~~~
!!! error TS2341: Property 'C.x' is inaccessible.
    
    class D<T> {
        y: T;
        constructor(a: T, private x: T) { }
    }
    
    var d: D<string>;
    var r = d.y;
    var r2 = d.x; // error
             ~~~
!!! error TS2341: Property 'D.x' is inaccessible.
    var r3 = d.a; // error
               ~
!!! error TS2339: Property 'a' does not exist on type 'D<string>'.