File: mergedInterfacesWithInheritedPrivates2.symbols

package info (click to toggle)
node-typescript 3.3.3333-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324,548 kB
  • sloc: makefile: 6; sh: 3
file content (77 lines) | stat: -rw-r--r-- 3,184 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
=== tests/cases/conformance/interfaces/declarationMerging/mergedInterfacesWithInheritedPrivates2.ts ===
class C {
>C : Symbol(C, Decl(mergedInterfacesWithInheritedPrivates2.ts, 0, 0))

    private x: number;
>x : Symbol(C.x, Decl(mergedInterfacesWithInheritedPrivates2.ts, 0, 9))
}

class C2 {
>C2 : Symbol(C2, Decl(mergedInterfacesWithInheritedPrivates2.ts, 2, 1))

    private w: number;
>w : Symbol(C2.w, Decl(mergedInterfacesWithInheritedPrivates2.ts, 4, 10))
}

interface A extends C {
>A : Symbol(A, Decl(mergedInterfacesWithInheritedPrivates2.ts, 6, 1), Decl(mergedInterfacesWithInheritedPrivates2.ts, 10, 1))
>C : Symbol(C, Decl(mergedInterfacesWithInheritedPrivates2.ts, 0, 0))

    y: string;
>y : Symbol(A.y, Decl(mergedInterfacesWithInheritedPrivates2.ts, 8, 23))
}

interface A extends C2 {
>A : Symbol(A, Decl(mergedInterfacesWithInheritedPrivates2.ts, 6, 1), Decl(mergedInterfacesWithInheritedPrivates2.ts, 10, 1))
>C2 : Symbol(C2, Decl(mergedInterfacesWithInheritedPrivates2.ts, 2, 1))

    z: string;
>z : Symbol(A.z, Decl(mergedInterfacesWithInheritedPrivates2.ts, 12, 24))
}

class D extends C implements A { // error
>D : Symbol(D, Decl(mergedInterfacesWithInheritedPrivates2.ts, 14, 1))
>C : Symbol(C, Decl(mergedInterfacesWithInheritedPrivates2.ts, 0, 0))
>A : Symbol(A, Decl(mergedInterfacesWithInheritedPrivates2.ts, 6, 1), Decl(mergedInterfacesWithInheritedPrivates2.ts, 10, 1))

    private w: number;
>w : Symbol(D.w, Decl(mergedInterfacesWithInheritedPrivates2.ts, 16, 32))

    y: string;
>y : Symbol(D.y, Decl(mergedInterfacesWithInheritedPrivates2.ts, 17, 22))

    z: string;
>z : Symbol(D.z, Decl(mergedInterfacesWithInheritedPrivates2.ts, 18, 14))
}

class E extends C2 implements A { // error
>E : Symbol(E, Decl(mergedInterfacesWithInheritedPrivates2.ts, 20, 1))
>C2 : Symbol(C2, Decl(mergedInterfacesWithInheritedPrivates2.ts, 2, 1))
>A : Symbol(A, Decl(mergedInterfacesWithInheritedPrivates2.ts, 6, 1), Decl(mergedInterfacesWithInheritedPrivates2.ts, 10, 1))

    w: number;
>w : Symbol(E.w, Decl(mergedInterfacesWithInheritedPrivates2.ts, 22, 33))

    y: string;
>y : Symbol(E.y, Decl(mergedInterfacesWithInheritedPrivates2.ts, 23, 14))

    z: string;
>z : Symbol(E.z, Decl(mergedInterfacesWithInheritedPrivates2.ts, 24, 14))
}

var a: A;
>a : Symbol(a, Decl(mergedInterfacesWithInheritedPrivates2.ts, 28, 3))
>A : Symbol(A, Decl(mergedInterfacesWithInheritedPrivates2.ts, 6, 1), Decl(mergedInterfacesWithInheritedPrivates2.ts, 10, 1))

var r = a.x; // error
>r : Symbol(r, Decl(mergedInterfacesWithInheritedPrivates2.ts, 29, 3))
>a.x : Symbol(C.x, Decl(mergedInterfacesWithInheritedPrivates2.ts, 0, 9))
>a : Symbol(a, Decl(mergedInterfacesWithInheritedPrivates2.ts, 28, 3))
>x : Symbol(C.x, Decl(mergedInterfacesWithInheritedPrivates2.ts, 0, 9))

var r2 = a.w; // error
>r2 : Symbol(r2, Decl(mergedInterfacesWithInheritedPrivates2.ts, 30, 3))
>a.w : Symbol(C2.w, Decl(mergedInterfacesWithInheritedPrivates2.ts, 4, 10))
>a : Symbol(a, Decl(mergedInterfacesWithInheritedPrivates2.ts, 28, 3))
>w : Symbol(C2.w, Decl(mergedInterfacesWithInheritedPrivates2.ts, 4, 10))