From 12572576c86340cd61ba5a7dd4eaf3da8c9cb0dd Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 23 Sep 2014 13:44:39 -0700 Subject: [PATCH] fix comment text --- tests/baselines/reference/classWithProtectedProperty.js | 4 ++-- tests/baselines/reference/classWithProtectedProperty.types | 2 +- .../conformance/types/members/classWithProtectedProperty.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/baselines/reference/classWithProtectedProperty.js b/tests/baselines/reference/classWithProtectedProperty.js index a6b441f015e..c0dde0d3237 100644 --- a/tests/baselines/reference/classWithProtectedProperty.js +++ b/tests/baselines/reference/classWithProtectedProperty.js @@ -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; } diff --git a/tests/baselines/reference/classWithProtectedProperty.types b/tests/baselines/reference/classWithProtectedProperty.types index c0a635f632f..a091206cde0 100644 --- a/tests/baselines/reference/classWithProtectedProperty.types +++ b/tests/baselines/reference/classWithProtectedProperty.types @@ -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 diff --git a/tests/cases/conformance/types/members/classWithProtectedProperty.ts b/tests/cases/conformance/types/members/classWithProtectedProperty.ts index 1bd6e36ce00..96bc615c020 100644 --- a/tests/cases/conformance/types/members/classWithProtectedProperty.ts +++ b/tests/cases/conformance/types/members/classWithProtectedProperty.ts @@ -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;