2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/propertyAccessibility1.ts(5,1): error TS2341: Property 'Foo.privProp' is inaccessible.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/propertyAccessibility1.ts (1 errors) ====
|
|
|
|
class Foo {
|
|
|
|
private privProp = 0;
|
|
|
|
}
|
|
|
|
var f = new Foo();
|
|
|
|
f.privProp;
|
|
|
|
~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2341: Property 'Foo.privProp' is inaccessible.
|
2014-07-13 01:04:16 +02:00
|
|
|
|