File: inheritanceGrandParentPrivateMemberCollision.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 (20 lines) | stat: -rw-r--r-- 778 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
=== tests/cases/compiler/inheritanceGrandParentPrivateMemberCollision.ts ===
class A {
>A : Symbol(A, Decl(inheritanceGrandParentPrivateMemberCollision.ts, 0, 0))

    private myMethod() { }
>myMethod : Symbol(A.myMethod, Decl(inheritanceGrandParentPrivateMemberCollision.ts, 0, 9))
}

class B extends A { }
>B : Symbol(B, Decl(inheritanceGrandParentPrivateMemberCollision.ts, 2, 1))
>A : Symbol(A, Decl(inheritanceGrandParentPrivateMemberCollision.ts, 0, 0))

class C extends B {
>C : Symbol(C, Decl(inheritanceGrandParentPrivateMemberCollision.ts, 4, 21))
>B : Symbol(B, Decl(inheritanceGrandParentPrivateMemberCollision.ts, 2, 1))

    private myMethod() { }
>myMethod : Symbol(C.myMethod, Decl(inheritanceGrandParentPrivateMemberCollision.ts, 6, 19))
}