122 lines
6.2 KiB
Text
122 lines
6.2 KiB
Text
=== tests/cases/conformance/classes/members/inheritanceAndOverriding/derivedClassOverridesProtectedMembers.ts ===
|
|
|
|
var x: { foo: string; }
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
>foo : Symbol(foo, Decl(derivedClassOverridesProtectedMembers.ts, 1, 8))
|
|
|
|
var y: { foo: string; bar: string; }
|
|
>y : Symbol(y, Decl(derivedClassOverridesProtectedMembers.ts, 2, 3))
|
|
>foo : Symbol(foo, Decl(derivedClassOverridesProtectedMembers.ts, 2, 8))
|
|
>bar : Symbol(bar, Decl(derivedClassOverridesProtectedMembers.ts, 2, 21))
|
|
|
|
class Base {
|
|
>Base : Symbol(Base, Decl(derivedClassOverridesProtectedMembers.ts, 2, 36))
|
|
|
|
protected a: typeof x;
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 4, 12))
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
|
|
protected b(a: typeof x) { }
|
|
>b : Symbol(b, Decl(derivedClassOverridesProtectedMembers.ts, 5, 26))
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 6, 16))
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
|
|
protected get c() { return x; }
|
|
>c : Symbol(c, Decl(derivedClassOverridesProtectedMembers.ts, 6, 32), Decl(derivedClassOverridesProtectedMembers.ts, 7, 35))
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
|
|
protected set c(v: typeof x) { }
|
|
>c : Symbol(c, Decl(derivedClassOverridesProtectedMembers.ts, 6, 32), Decl(derivedClassOverridesProtectedMembers.ts, 7, 35))
|
|
>v : Symbol(v, Decl(derivedClassOverridesProtectedMembers.ts, 8, 20))
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
|
|
protected d: (a: typeof x) => void;
|
|
>d : Symbol(d, Decl(derivedClassOverridesProtectedMembers.ts, 8, 36))
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 9, 18))
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
|
|
protected static r: typeof x;
|
|
>r : Symbol(Base.r, Decl(derivedClassOverridesProtectedMembers.ts, 9, 39))
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
|
|
protected static s(a: typeof x) { }
|
|
>s : Symbol(Base.s, Decl(derivedClassOverridesProtectedMembers.ts, 11, 33))
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 12, 23))
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
|
|
protected static get t() { return x; }
|
|
>t : Symbol(Base.t, Decl(derivedClassOverridesProtectedMembers.ts, 12, 39), Decl(derivedClassOverridesProtectedMembers.ts, 13, 42))
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
|
|
protected static set t(v: typeof x) { }
|
|
>t : Symbol(Base.t, Decl(derivedClassOverridesProtectedMembers.ts, 12, 39), Decl(derivedClassOverridesProtectedMembers.ts, 13, 42))
|
|
>v : Symbol(v, Decl(derivedClassOverridesProtectedMembers.ts, 14, 27))
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
|
|
protected static u: (a: typeof x) => void;
|
|
>u : Symbol(Base.u, Decl(derivedClassOverridesProtectedMembers.ts, 14, 43))
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 15, 25))
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
|
|
constructor(a: typeof x) { }
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 17, 16))
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
}
|
|
|
|
class Derived extends Base {
|
|
>Derived : Symbol(Derived, Decl(derivedClassOverridesProtectedMembers.ts, 18, 1))
|
|
>Base : Symbol(Base, Decl(derivedClassOverridesProtectedMembers.ts, 2, 36))
|
|
|
|
protected a: typeof y;
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 20, 28))
|
|
>y : Symbol(y, Decl(derivedClassOverridesProtectedMembers.ts, 2, 3))
|
|
|
|
protected b(a: typeof y) { }
|
|
>b : Symbol(b, Decl(derivedClassOverridesProtectedMembers.ts, 21, 26))
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 22, 16))
|
|
>y : Symbol(y, Decl(derivedClassOverridesProtectedMembers.ts, 2, 3))
|
|
|
|
protected get c() { return y; }
|
|
>c : Symbol(c, Decl(derivedClassOverridesProtectedMembers.ts, 22, 32), Decl(derivedClassOverridesProtectedMembers.ts, 23, 35))
|
|
>y : Symbol(y, Decl(derivedClassOverridesProtectedMembers.ts, 2, 3))
|
|
|
|
protected set c(v: typeof y) { }
|
|
>c : Symbol(c, Decl(derivedClassOverridesProtectedMembers.ts, 22, 32), Decl(derivedClassOverridesProtectedMembers.ts, 23, 35))
|
|
>v : Symbol(v, Decl(derivedClassOverridesProtectedMembers.ts, 24, 20))
|
|
>y : Symbol(y, Decl(derivedClassOverridesProtectedMembers.ts, 2, 3))
|
|
|
|
protected d: (a: typeof y) => void;
|
|
>d : Symbol(d, Decl(derivedClassOverridesProtectedMembers.ts, 24, 36))
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 25, 18))
|
|
>y : Symbol(y, Decl(derivedClassOverridesProtectedMembers.ts, 2, 3))
|
|
|
|
protected static r: typeof y;
|
|
>r : Symbol(Derived.r, Decl(derivedClassOverridesProtectedMembers.ts, 25, 39))
|
|
>y : Symbol(y, Decl(derivedClassOverridesProtectedMembers.ts, 2, 3))
|
|
|
|
protected static s(a: typeof y) { }
|
|
>s : Symbol(Derived.s, Decl(derivedClassOverridesProtectedMembers.ts, 27, 33))
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 28, 23))
|
|
>y : Symbol(y, Decl(derivedClassOverridesProtectedMembers.ts, 2, 3))
|
|
|
|
protected static get t() { return y; }
|
|
>t : Symbol(Derived.t, Decl(derivedClassOverridesProtectedMembers.ts, 28, 39), Decl(derivedClassOverridesProtectedMembers.ts, 29, 42))
|
|
>y : Symbol(y, Decl(derivedClassOverridesProtectedMembers.ts, 2, 3))
|
|
|
|
protected static set t(a: typeof y) { }
|
|
>t : Symbol(Derived.t, Decl(derivedClassOverridesProtectedMembers.ts, 28, 39), Decl(derivedClassOverridesProtectedMembers.ts, 29, 42))
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 30, 27))
|
|
>y : Symbol(y, Decl(derivedClassOverridesProtectedMembers.ts, 2, 3))
|
|
|
|
protected static u: (a: typeof y) => void;
|
|
>u : Symbol(Derived.u, Decl(derivedClassOverridesProtectedMembers.ts, 30, 43))
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 31, 25))
|
|
>y : Symbol(y, Decl(derivedClassOverridesProtectedMembers.ts, 2, 3))
|
|
|
|
constructor(a: typeof y) { super(x) }
|
|
>a : Symbol(a, Decl(derivedClassOverridesProtectedMembers.ts, 33, 16))
|
|
>y : Symbol(y, Decl(derivedClassOverridesProtectedMembers.ts, 2, 3))
|
|
>super : Symbol(Base, Decl(derivedClassOverridesProtectedMembers.ts, 2, 36))
|
|
>x : Symbol(x, Decl(derivedClassOverridesProtectedMembers.ts, 1, 3))
|
|
}
|
|
|