TypeScript/tests/baselines/reference/cloduleStaticMembers.errors.txt

19 lines
438 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/cloduleStaticMembers.ts (3 errors) ====
class Clod {
private static x = 10;
public static y = 10;
}
module Clod {
var p = Clod.x;
~~~~~~
!!! Property 'Clod.x' is inaccessible.
var q = x;
~
!!! Cannot find name 'x'.
var s = Clod.y;
var t = y;
~
!!! Cannot find name 'y'.
}