fix comment text
This commit is contained in:
parent
a6fdad1e97
commit
12572576c8
3 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
//// [classWithProtectedProperty.ts]
|
||||
// accessing any private outside the class is an error
|
||||
// accessing any protected outside the class is an error
|
||||
|
||||
class C {
|
||||
protected x;
|
||||
|
@ -28,7 +28,7 @@ class D extends C {
|
|||
}
|
||||
|
||||
//// [classWithProtectedProperty.js]
|
||||
// accessing any private outside the class is an error
|
||||
// accessing any protected outside the class is an error
|
||||
var __extends = this.__extends || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
=== tests/cases/conformance/types/members/classWithProtectedProperty.ts ===
|
||||
// accessing any private outside the class is an error
|
||||
// accessing any protected outside the class is an error
|
||||
|
||||
class C {
|
||||
>C : C
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// accessing any private outside the class is an error
|
||||
// accessing any protected outside the class is an error
|
||||
|
||||
class C {
|
||||
protected x;
|
||||
|
|
Loading…
Reference in a new issue