TypeScript/tests/baselines/reference/scopeTests.errors.txt
2014-09-17 10:36:32 -07:00

15 lines
No EOL
417 B
Text

==== tests/cases/compiler/scopeTests.ts (1 errors) ====
class C { private v; public p; static s; }
class D extends C {
~
!!! Class 'D' incorrectly extends base class 'C':
!!! Property 'v' is private in type 'C' but not in type 'D'.
public v: number;
public p: number
constructor() {
super()
this.v = 1;
this.p = 1;
C.s = 1;
}
}