fix comment text

This commit is contained in:
Mohamed Hegazy 2014-09-23 13:44:39 -07:00
parent a6fdad1e97
commit 12572576c8
3 changed files with 4 additions and 4 deletions

View file

@ -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; }

View file

@ -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

View file

@ -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;