263 lines
12 KiB
Text
263 lines
12 KiB
Text
=== tests/cases/compiler/privacyGloVar.ts ===
|
|
module m1 {
|
|
>m1 : typeof m1, Symbol(m1,Decl(privacyGloVar.ts,0,0))
|
|
|
|
export class C1_public {
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
private f1() {
|
|
>f1 : () => void, Symbol(f1,Decl(privacyGloVar.ts,1,28))
|
|
}
|
|
}
|
|
|
|
class C2_private {
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
}
|
|
|
|
export class C3_public {
|
|
>C3_public : C3_public, Symbol(C3_public,Decl(privacyGloVar.ts,7,5))
|
|
|
|
private C3_v1_private: C1_public;
|
|
>C3_v1_private : C1_public, Symbol(C3_v1_private,Decl(privacyGloVar.ts,9,28))
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
public C3_v2_public: C1_public;
|
|
>C3_v2_public : C1_public, Symbol(C3_v2_public,Decl(privacyGloVar.ts,10,41))
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
private C3_v3_private: C2_private;
|
|
>C3_v3_private : C2_private, Symbol(C3_v3_private,Decl(privacyGloVar.ts,11,39))
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
public C3_v4_public: C2_private; // error
|
|
>C3_v4_public : C2_private, Symbol(C3_v4_public,Decl(privacyGloVar.ts,12,42))
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
private C3_v11_private = new C1_public();
|
|
>C3_v11_private : C1_public, Symbol(C3_v11_private,Decl(privacyGloVar.ts,13,40))
|
|
>new C1_public() : C1_public
|
|
>C1_public : typeof C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
public C3_v12_public = new C1_public();
|
|
>C3_v12_public : C1_public, Symbol(C3_v12_public,Decl(privacyGloVar.ts,15,49))
|
|
>new C1_public() : C1_public
|
|
>C1_public : typeof C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
private C3_v13_private = new C2_private();
|
|
>C3_v13_private : C2_private, Symbol(C3_v13_private,Decl(privacyGloVar.ts,16,47))
|
|
>new C2_private() : C2_private
|
|
>C2_private : typeof C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
public C3_v14_public = new C2_private(); // error
|
|
>C3_v14_public : C2_private, Symbol(C3_v14_public,Decl(privacyGloVar.ts,17,50))
|
|
>new C2_private() : C2_private
|
|
>C2_private : typeof C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
private C3_v21_private: C1_public = new C1_public();
|
|
>C3_v21_private : C1_public, Symbol(C3_v21_private,Decl(privacyGloVar.ts,18,48))
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
>new C1_public() : C1_public
|
|
>C1_public : typeof C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
public C3_v22_public: C1_public = new C1_public();
|
|
>C3_v22_public : C1_public, Symbol(C3_v22_public,Decl(privacyGloVar.ts,20,60))
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
>new C1_public() : C1_public
|
|
>C1_public : typeof C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
private C3_v23_private: C2_private = new C2_private();
|
|
>C3_v23_private : C2_private, Symbol(C3_v23_private,Decl(privacyGloVar.ts,21,58))
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
>new C2_private() : C2_private
|
|
>C2_private : typeof C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
public C3_v24_public: C2_private = new C2_private(); // error
|
|
>C3_v24_public : C2_private, Symbol(C3_v24_public,Decl(privacyGloVar.ts,22,62))
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
>new C2_private() : C2_private
|
|
>C2_private : typeof C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
}
|
|
|
|
class C4_public {
|
|
>C4_public : C4_public, Symbol(C4_public,Decl(privacyGloVar.ts,24,5))
|
|
|
|
private C4_v1_private: C1_public;
|
|
>C4_v1_private : C1_public, Symbol(C4_v1_private,Decl(privacyGloVar.ts,26,21))
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
public C4_v2_public: C1_public;
|
|
>C4_v2_public : C1_public, Symbol(C4_v2_public,Decl(privacyGloVar.ts,27,41))
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
private C4_v3_private: C2_private;
|
|
>C4_v3_private : C2_private, Symbol(C4_v3_private,Decl(privacyGloVar.ts,28,39))
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
public C4_v4_public: C2_private;
|
|
>C4_v4_public : C2_private, Symbol(C4_v4_public,Decl(privacyGloVar.ts,29,42))
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
private C4_v11_private = new C1_public();
|
|
>C4_v11_private : C1_public, Symbol(C4_v11_private,Decl(privacyGloVar.ts,30,40))
|
|
>new C1_public() : C1_public
|
|
>C1_public : typeof C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
public C4_v12_public = new C1_public();
|
|
>C4_v12_public : C1_public, Symbol(C4_v12_public,Decl(privacyGloVar.ts,32,49))
|
|
>new C1_public() : C1_public
|
|
>C1_public : typeof C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
private C4_v13_private = new C2_private();
|
|
>C4_v13_private : C2_private, Symbol(C4_v13_private,Decl(privacyGloVar.ts,33,47))
|
|
>new C2_private() : C2_private
|
|
>C2_private : typeof C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
public C4_v14_public = new C2_private();
|
|
>C4_v14_public : C2_private, Symbol(C4_v14_public,Decl(privacyGloVar.ts,34,50))
|
|
>new C2_private() : C2_private
|
|
>C2_private : typeof C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
private C4_v21_private: C1_public = new C1_public();
|
|
>C4_v21_private : C1_public, Symbol(C4_v21_private,Decl(privacyGloVar.ts,35,48))
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
>new C1_public() : C1_public
|
|
>C1_public : typeof C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
public C4_v22_public: C1_public = new C1_public();
|
|
>C4_v22_public : C1_public, Symbol(C4_v22_public,Decl(privacyGloVar.ts,37,60))
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
>new C1_public() : C1_public
|
|
>C1_public : typeof C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
private C4_v23_private: C2_private = new C2_private();
|
|
>C4_v23_private : C2_private, Symbol(C4_v23_private,Decl(privacyGloVar.ts,38,58))
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
>new C2_private() : C2_private
|
|
>C2_private : typeof C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
public C4_v24_public: C2_private = new C2_private();
|
|
>C4_v24_public : C2_private, Symbol(C4_v24_public,Decl(privacyGloVar.ts,39,62))
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
>new C2_private() : C2_private
|
|
>C2_private : typeof C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
}
|
|
|
|
var m1_v1_private: C1_public;
|
|
>m1_v1_private : C1_public, Symbol(m1_v1_private,Decl(privacyGloVar.ts,43,7))
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
export var m1_v2_public: C1_public;
|
|
>m1_v2_public : C1_public, Symbol(m1_v2_public,Decl(privacyGloVar.ts,44,14))
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
var m1_v3_private: C2_private;
|
|
>m1_v3_private : C2_private, Symbol(m1_v3_private,Decl(privacyGloVar.ts,45,7))
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
export var m1_v4_public: C2_private; // error
|
|
>m1_v4_public : C2_private, Symbol(m1_v4_public,Decl(privacyGloVar.ts,46,14))
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
var m1_v11_private = new C1_public();
|
|
>m1_v11_private : C1_public, Symbol(m1_v11_private,Decl(privacyGloVar.ts,48,7))
|
|
>new C1_public() : C1_public
|
|
>C1_public : typeof C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
export var m1_v12_public = new C1_public();
|
|
>m1_v12_public : C1_public, Symbol(m1_v12_public,Decl(privacyGloVar.ts,49,14))
|
|
>new C1_public() : C1_public
|
|
>C1_public : typeof C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
var m1_v13_private = new C2_private();
|
|
>m1_v13_private : C2_private, Symbol(m1_v13_private,Decl(privacyGloVar.ts,50,7))
|
|
>new C2_private() : C2_private
|
|
>C2_private : typeof C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
export var m1_v14_public = new C2_private(); //error
|
|
>m1_v14_public : C2_private, Symbol(m1_v14_public,Decl(privacyGloVar.ts,51,14))
|
|
>new C2_private() : C2_private
|
|
>C2_private : typeof C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
var m1_v21_private: C1_public = new C1_public();
|
|
>m1_v21_private : C1_public, Symbol(m1_v21_private,Decl(privacyGloVar.ts,53,7))
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
>new C1_public() : C1_public
|
|
>C1_public : typeof C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
export var m1_v22_public: C1_public = new C1_public();
|
|
>m1_v22_public : C1_public, Symbol(m1_v22_public,Decl(privacyGloVar.ts,54,14))
|
|
>C1_public : C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
>new C1_public() : C1_public
|
|
>C1_public : typeof C1_public, Symbol(C1_public,Decl(privacyGloVar.ts,0,11))
|
|
|
|
var m1_v23_private: C2_private = new C2_private();
|
|
>m1_v23_private : C2_private, Symbol(m1_v23_private,Decl(privacyGloVar.ts,55,7))
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
>new C2_private() : C2_private
|
|
>C2_private : typeof C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
|
|
export var m1_v24_public: C2_private = new C2_private(); // error
|
|
>m1_v24_public : C2_private, Symbol(m1_v24_public,Decl(privacyGloVar.ts,56,14))
|
|
>C2_private : C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
>new C2_private() : C2_private
|
|
>C2_private : typeof C2_private, Symbol(C2_private,Decl(privacyGloVar.ts,4,5))
|
|
}
|
|
|
|
class glo_C1_public {
|
|
>glo_C1_public : glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
|
|
private f1() {
|
|
>f1 : () => void, Symbol(f1,Decl(privacyGloVar.ts,59,21))
|
|
}
|
|
}
|
|
|
|
class glo_C3_public {
|
|
>glo_C3_public : glo_C3_public, Symbol(glo_C3_public,Decl(privacyGloVar.ts,62,1))
|
|
|
|
private glo_C3_v1_private: glo_C1_public;
|
|
>glo_C3_v1_private : glo_C1_public, Symbol(glo_C3_v1_private,Decl(privacyGloVar.ts,64,21))
|
|
>glo_C1_public : glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
|
|
public glo_C3_v2_public: glo_C1_public;
|
|
>glo_C3_v2_public : glo_C1_public, Symbol(glo_C3_v2_public,Decl(privacyGloVar.ts,65,45))
|
|
>glo_C1_public : glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
|
|
private glo_C3_v11_private = new glo_C1_public();
|
|
>glo_C3_v11_private : glo_C1_public, Symbol(glo_C3_v11_private,Decl(privacyGloVar.ts,66,43))
|
|
>new glo_C1_public() : glo_C1_public
|
|
>glo_C1_public : typeof glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
|
|
public glo_C3_v12_public = new glo_C1_public();
|
|
>glo_C3_v12_public : glo_C1_public, Symbol(glo_C3_v12_public,Decl(privacyGloVar.ts,68,53))
|
|
>new glo_C1_public() : glo_C1_public
|
|
>glo_C1_public : typeof glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
|
|
private glo_C3_v21_private: glo_C1_public = new glo_C1_public();
|
|
>glo_C3_v21_private : glo_C1_public, Symbol(glo_C3_v21_private,Decl(privacyGloVar.ts,69,51))
|
|
>glo_C1_public : glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
>new glo_C1_public() : glo_C1_public
|
|
>glo_C1_public : typeof glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
|
|
public glo_C3_v22_public: glo_C1_public = new glo_C1_public();
|
|
>glo_C3_v22_public : glo_C1_public, Symbol(glo_C3_v22_public,Decl(privacyGloVar.ts,71,68))
|
|
>glo_C1_public : glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
>new glo_C1_public() : glo_C1_public
|
|
>glo_C1_public : typeof glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
}
|
|
|
|
|
|
var glo_v2_public: glo_C1_public;
|
|
>glo_v2_public : glo_C1_public, Symbol(glo_v2_public,Decl(privacyGloVar.ts,76,3))
|
|
>glo_C1_public : glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
|
|
var glo_v12_public = new glo_C1_public();
|
|
>glo_v12_public : glo_C1_public, Symbol(glo_v12_public,Decl(privacyGloVar.ts,77,3))
|
|
>new glo_C1_public() : glo_C1_public
|
|
>glo_C1_public : typeof glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
|
|
var glo_v22_public: glo_C1_public = new glo_C1_public();
|
|
>glo_v22_public : glo_C1_public, Symbol(glo_v22_public,Decl(privacyGloVar.ts,78,3))
|
|
>glo_C1_public : glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
>new glo_C1_public() : glo_C1_public
|
|
>glo_C1_public : typeof glo_C1_public, Symbol(glo_C1_public,Decl(privacyGloVar.ts,57,1))
|
|
|