2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/conformance/types/typeRelationships/assignmentCompatibility/constructSignatureAssignabilityInInheritance2.ts ===
|
|
|
|
// checking subtype relations for function types as it relates to contextual signature instantiation
|
|
|
|
|
|
|
|
class Base { foo: string; }
|
2015-04-13 23:01:57 +02:00
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>foo : string, Symbol(foo, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 12))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
class Derived extends Base { bar: string; }
|
2015-04-13 23:01:57 +02:00
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>bar : string, Symbol(bar, Decl(constructSignatureAssignabilityInInheritance2.ts, 3, 28))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
class Derived2 extends Derived { baz: string; }
|
2015-04-13 23:01:57 +02:00
|
|
|
>Derived2 : Derived2, Symbol(Derived2, Decl(constructSignatureAssignabilityInInheritance2.ts, 3, 43))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>baz : string, Symbol(baz, Decl(constructSignatureAssignabilityInInheritance2.ts, 4, 32))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
class OtherDerived extends Base { bing: string; }
|
2015-04-13 23:01:57 +02:00
|
|
|
>OtherDerived : OtherDerived, Symbol(OtherDerived, Decl(constructSignatureAssignabilityInInheritance2.ts, 4, 47))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>bing : string, Symbol(bing, Decl(constructSignatureAssignabilityInInheritance2.ts, 5, 33))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
interface A { // T
|
2015-04-13 23:01:57 +02:00
|
|
|
>A : A, Symbol(A, Decl(constructSignatureAssignabilityInInheritance2.ts, 5, 49))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
// M's
|
|
|
|
a: new (x: number) => number[];
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : new (x: number) => number[], Symbol(a, Decl(constructSignatureAssignabilityInInheritance2.ts, 7, 13))
|
|
|
|
>x : number, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 9, 12))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a2: new (x: number) => string[];
|
2015-04-13 23:01:57 +02:00
|
|
|
>a2 : new (x: number) => string[], Symbol(a2, Decl(constructSignatureAssignabilityInInheritance2.ts, 9, 35))
|
|
|
|
>x : number, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 10, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a3: new (x: number) => void;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a3 : new (x: number) => void, Symbol(a3, Decl(constructSignatureAssignabilityInInheritance2.ts, 10, 36))
|
|
|
|
>x : number, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 11, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a4: new (x: string, y: number) => string;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a4 : new (x: string, y: number) => string, Symbol(a4, Decl(constructSignatureAssignabilityInInheritance2.ts, 11, 32))
|
|
|
|
>x : string, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 12, 13))
|
|
|
|
>y : number, Symbol(y, Decl(constructSignatureAssignabilityInInheritance2.ts, 12, 23))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a5: new (x: (arg: string) => number) => string;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a5 : new (x: (arg: string) => number) => string, Symbol(a5, Decl(constructSignatureAssignabilityInInheritance2.ts, 12, 45))
|
|
|
|
>x : (arg: string) => number, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 13, 13))
|
|
|
|
>arg : string, Symbol(arg, Decl(constructSignatureAssignabilityInInheritance2.ts, 13, 17))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a6: new (x: (arg: Base) => Derived) => Base;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a6 : new (x: (arg: Base) => Derived) => Base, Symbol(a6, Decl(constructSignatureAssignabilityInInheritance2.ts, 13, 51))
|
|
|
|
>x : (arg: Base) => Derived, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 14, 13))
|
|
|
|
>arg : Base, Symbol(arg, Decl(constructSignatureAssignabilityInInheritance2.ts, 14, 17))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a7: new (x: (arg: Base) => Derived) => (r: Base) => Derived;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a7 : new (x: (arg: Base) => Derived) => (r: Base) => Derived, Symbol(a7, Decl(constructSignatureAssignabilityInInheritance2.ts, 14, 48))
|
|
|
|
>x : (arg: Base) => Derived, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 15, 13))
|
|
|
|
>arg : Base, Symbol(arg, Decl(constructSignatureAssignabilityInInheritance2.ts, 15, 17))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>r : Base, Symbol(r, Decl(constructSignatureAssignabilityInInheritance2.ts, 15, 44))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a8: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a8 : new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived, Symbol(a8, Decl(constructSignatureAssignabilityInInheritance2.ts, 15, 64))
|
|
|
|
>x : (arg: Base) => Derived, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 16, 13))
|
|
|
|
>arg : Base, Symbol(arg, Decl(constructSignatureAssignabilityInInheritance2.ts, 16, 17))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>y : (arg2: Base) => Derived, Symbol(y, Decl(constructSignatureAssignabilityInInheritance2.ts, 16, 39))
|
|
|
|
>arg2 : Base, Symbol(arg2, Decl(constructSignatureAssignabilityInInheritance2.ts, 16, 44))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>r : Base, Symbol(r, Decl(constructSignatureAssignabilityInInheritance2.ts, 16, 72))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a9: new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a9 : new (x: (arg: Base) => Derived, y: (arg2: Base) => Derived) => (r: Base) => Derived, Symbol(a9, Decl(constructSignatureAssignabilityInInheritance2.ts, 16, 92))
|
|
|
|
>x : (arg: Base) => Derived, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 17, 13))
|
|
|
|
>arg : Base, Symbol(arg, Decl(constructSignatureAssignabilityInInheritance2.ts, 17, 17))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>y : (arg2: Base) => Derived, Symbol(y, Decl(constructSignatureAssignabilityInInheritance2.ts, 17, 39))
|
|
|
|
>arg2 : Base, Symbol(arg2, Decl(constructSignatureAssignabilityInInheritance2.ts, 17, 44))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>r : Base, Symbol(r, Decl(constructSignatureAssignabilityInInheritance2.ts, 17, 72))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a10: new (...x: Derived[]) => Derived;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a10 : new (...x: Derived[]) => Derived, Symbol(a10, Decl(constructSignatureAssignabilityInInheritance2.ts, 17, 92))
|
|
|
|
>x : Derived[], Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 18, 14))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a11: new (x: { foo: string }, y: { foo: string; bar: string }) => Base;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a11 : new (x: { foo: string; }, y: { foo: string; bar: string; }) => Base, Symbol(a11, Decl(constructSignatureAssignabilityInInheritance2.ts, 18, 42))
|
|
|
|
>x : { foo: string; }, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 19, 14))
|
|
|
|
>foo : string, Symbol(foo, Decl(constructSignatureAssignabilityInInheritance2.ts, 19, 18))
|
|
|
|
>y : { foo: string; bar: string; }, Symbol(y, Decl(constructSignatureAssignabilityInInheritance2.ts, 19, 33))
|
|
|
|
>foo : string, Symbol(foo, Decl(constructSignatureAssignabilityInInheritance2.ts, 19, 38))
|
|
|
|
>bar : string, Symbol(bar, Decl(constructSignatureAssignabilityInInheritance2.ts, 19, 51))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a12: new (x: Array<Base>, y: Array<Derived2>) => Array<Derived>;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a12 : new (x: Base[], y: Derived2[]) => Derived[], Symbol(a12, Decl(constructSignatureAssignabilityInInheritance2.ts, 19, 75))
|
|
|
|
>x : Base[], Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 20, 14))
|
|
|
|
>Array : T[], Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>y : Derived2[], Symbol(y, Decl(constructSignatureAssignabilityInInheritance2.ts, 20, 29))
|
|
|
|
>Array : T[], Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
|
|
>Derived2 : Derived2, Symbol(Derived2, Decl(constructSignatureAssignabilityInInheritance2.ts, 3, 43))
|
|
|
|
>Array : T[], Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a13: new (x: Array<Base>, y: Array<Derived>) => Array<Derived>;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a13 : new (x: Base[], y: Derived[]) => Derived[], Symbol(a13, Decl(constructSignatureAssignabilityInInheritance2.ts, 20, 68))
|
|
|
|
>x : Base[], Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 21, 14))
|
|
|
|
>Array : T[], Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>y : Derived[], Symbol(y, Decl(constructSignatureAssignabilityInInheritance2.ts, 21, 29))
|
|
|
|
>Array : T[], Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>Array : T[], Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a14: new (x: { a: string; b: number }) => Object;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a14 : new (x: { a: string; b: number; }) => Object, Symbol(a14, Decl(constructSignatureAssignabilityInInheritance2.ts, 21, 67))
|
|
|
|
>x : { a: string; b: number; }, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 22, 14))
|
|
|
|
>a : string, Symbol(a, Decl(constructSignatureAssignabilityInInheritance2.ts, 22, 18))
|
|
|
|
>b : number, Symbol(b, Decl(constructSignatureAssignabilityInInheritance2.ts, 22, 29))
|
|
|
|
>Object : Object, Symbol(Object, Decl(lib.d.ts, 92, 1), Decl(lib.d.ts, 223, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a15: {
|
2015-04-13 23:01:57 +02:00
|
|
|
>a15 : { new (x: number): number[]; new (x: string): string[]; }, Symbol(a15, Decl(constructSignatureAssignabilityInInheritance2.ts, 22, 53))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new (x: number): number[];
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : number, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 24, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new (x: string): string[];
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : string, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 25, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
a16: {
|
2015-04-13 23:01:57 +02:00
|
|
|
>a16 : { new <T extends Derived>(x: T): number[]; new <U extends Base>(x: U): number[]; }, Symbol(a16, Decl(constructSignatureAssignabilityInInheritance2.ts, 26, 6))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new <T extends Derived>(x: T): number[];
|
2015-04-13 23:01:57 +02:00
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 28, 13))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>x : T, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 28, 32))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 28, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new <U extends Base>(x: U): number[];
|
2015-04-13 23:01:57 +02:00
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 29, 13))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>x : U, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 29, 29))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 29, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
a17: {
|
2015-04-13 23:01:57 +02:00
|
|
|
>a17 : { new (x: new (a: number) => number): number[]; new (x: new (a: string) => string): string[]; }, Symbol(a17, Decl(constructSignatureAssignabilityInInheritance2.ts, 30, 6))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new (x: new (a: number) => number): number[];
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : new (a: number) => number, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 32, 13))
|
|
|
|
>a : number, Symbol(a, Decl(constructSignatureAssignabilityInInheritance2.ts, 32, 21))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new (x: new (a: string) => string): string[];
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : new (a: string) => string, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 33, 13))
|
|
|
|
>a : string, Symbol(a, Decl(constructSignatureAssignabilityInInheritance2.ts, 33, 21))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
a18: {
|
2015-04-13 23:01:57 +02:00
|
|
|
>a18 : { new (x: { new (a: number): number; new (a: string): string; }): any[]; new (x: { new (a: boolean): boolean; new (a: Date): Date; }): any[]; }, Symbol(a18, Decl(constructSignatureAssignabilityInInheritance2.ts, 34, 6))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new (x: {
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : { new (a: number): number; new (a: string): string; }, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 36, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new (a: number): number;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : number, Symbol(a, Decl(constructSignatureAssignabilityInInheritance2.ts, 37, 17))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new (a: string): string;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : string, Symbol(a, Decl(constructSignatureAssignabilityInInheritance2.ts, 38, 17))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
}): any[];
|
|
|
|
new (x: {
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : { new (a: boolean): boolean; new (a: Date): Date; }, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 40, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new (a: boolean): boolean;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : boolean, Symbol(a, Decl(constructSignatureAssignabilityInInheritance2.ts, 41, 17))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
new (a: Date): Date;
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : Date, Symbol(a, Decl(constructSignatureAssignabilityInInheritance2.ts, 42, 17))
|
|
|
|
>Date : Date, Symbol(Date, Decl(lib.d.ts, 633, 23), Decl(lib.d.ts, 815, 11))
|
|
|
|
>Date : Date, Symbol(Date, Decl(lib.d.ts, 633, 23), Decl(lib.d.ts, 815, 11))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
}): any[];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
// S's
|
|
|
|
interface I extends A {
|
2015-04-13 23:01:57 +02:00
|
|
|
>I : I, Symbol(I, Decl(constructSignatureAssignabilityInInheritance2.ts, 45, 1))
|
|
|
|
>A : A, Symbol(A, Decl(constructSignatureAssignabilityInInheritance2.ts, 5, 49))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
// N's
|
|
|
|
a: new <T>(x: T) => T[]; // ok, instantiation of N is a subtype of M, T is number
|
2015-04-13 23:01:57 +02:00
|
|
|
>a : new <T>(x: T) => T[], Symbol(a, Decl(constructSignatureAssignabilityInInheritance2.ts, 48, 23))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 50, 12))
|
|
|
|
>x : T, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 50, 15))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 50, 12))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 50, 12))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a2: new <T>(x: T) => string[]; // ok
|
2015-04-13 23:01:57 +02:00
|
|
|
>a2 : new <T>(x: T) => string[], Symbol(a2, Decl(constructSignatureAssignabilityInInheritance2.ts, 50, 28))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 51, 13))
|
|
|
|
>x : T, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 51, 16))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 51, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a3: new <T>(x: T) => T; // ok since Base returns void
|
2015-04-13 23:01:57 +02:00
|
|
|
>a3 : new <T>(x: T) => T, Symbol(a3, Decl(constructSignatureAssignabilityInInheritance2.ts, 51, 34))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 52, 13))
|
|
|
|
>x : T, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 52, 16))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 52, 13))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 52, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a4: new <T, U>(x: T, y: U) => T; // ok, instantiation of N is a subtype of M, T is string, U is number
|
2015-04-13 23:01:57 +02:00
|
|
|
>a4 : new <T, U>(x: T, y: U) => T, Symbol(a4, Decl(constructSignatureAssignabilityInInheritance2.ts, 52, 27))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 53, 13))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 53, 15))
|
|
|
|
>x : T, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 53, 19))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 53, 13))
|
|
|
|
>y : U, Symbol(y, Decl(constructSignatureAssignabilityInInheritance2.ts, 53, 24))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 53, 15))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 53, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a5: new <T, U>(x: (arg: T) => U) => T; // ok, U is in a parameter position so inferences can be made
|
2015-04-13 23:01:57 +02:00
|
|
|
>a5 : new <T, U>(x: (arg: T) => U) => T, Symbol(a5, Decl(constructSignatureAssignabilityInInheritance2.ts, 53, 36))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 54, 13))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 54, 15))
|
|
|
|
>x : (arg: T) => U, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 54, 19))
|
|
|
|
>arg : T, Symbol(arg, Decl(constructSignatureAssignabilityInInheritance2.ts, 54, 23))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 54, 13))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 54, 15))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 54, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a6: new <T extends Base, U extends Derived>(x: (arg: T) => U) => T; // ok, same as a5 but with object type hierarchy
|
2015-04-13 23:01:57 +02:00
|
|
|
>a6 : new <T extends Base, U extends Derived>(x: (arg: T) => U) => T, Symbol(a6, Decl(constructSignatureAssignabilityInInheritance2.ts, 54, 42))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 55, 13))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 55, 28))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>x : (arg: T) => U, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 55, 48))
|
|
|
|
>arg : T, Symbol(arg, Decl(constructSignatureAssignabilityInInheritance2.ts, 55, 52))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 55, 13))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 55, 28))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 55, 13))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a7: new <T extends Base, U extends Derived>(x: (arg: T) => U) => (r: T) => U; // ok
|
2015-04-13 23:01:57 +02:00
|
|
|
>a7 : new <T extends Base, U extends Derived>(x: (arg: T) => U) => (r: T) => U, Symbol(a7, Decl(constructSignatureAssignabilityInInheritance2.ts, 55, 71))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 56, 13))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 56, 28))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>x : (arg: T) => U, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 56, 48))
|
|
|
|
>arg : T, Symbol(arg, Decl(constructSignatureAssignabilityInInheritance2.ts, 56, 52))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 56, 13))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 56, 28))
|
|
|
|
>r : T, Symbol(r, Decl(constructSignatureAssignabilityInInheritance2.ts, 56, 70))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 56, 13))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 56, 28))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a8: new <T extends Base, U extends Derived>(x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U; // ok
|
2015-04-13 23:01:57 +02:00
|
|
|
>a8 : new <T extends Base, U extends Derived>(x: (arg: T) => U, y: (arg2: T) => U) => (r: T) => U, Symbol(a8, Decl(constructSignatureAssignabilityInInheritance2.ts, 56, 81))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 13))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 28))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>x : (arg: T) => U, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 48))
|
|
|
|
>arg : T, Symbol(arg, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 52))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 13))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 28))
|
|
|
|
>y : (arg2: T) => U, Symbol(y, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 65))
|
|
|
|
>arg2 : T, Symbol(arg2, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 70))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 13))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 28))
|
|
|
|
>r : T, Symbol(r, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 89))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 13))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 28))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a9: new <T extends Base, U extends Derived>(x: (arg: T) => U, y: (arg2: { foo: string; bing: number }) => U) => (r: T) => U; // ok, same as a8 with compatible object literal
|
2015-04-13 23:01:57 +02:00
|
|
|
>a9 : new <T extends Base, U extends Derived>(x: (arg: T) => U, y: (arg2: { foo: string; bing: number; }) => U) => (r: T) => U, Symbol(a9, Decl(constructSignatureAssignabilityInInheritance2.ts, 57, 100))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 13))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 28))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>x : (arg: T) => U, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 48))
|
|
|
|
>arg : T, Symbol(arg, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 52))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 13))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 28))
|
|
|
|
>y : (arg2: { foo: string; bing: number; }) => U, Symbol(y, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 65))
|
|
|
|
>arg2 : { foo: string; bing: number; }, Symbol(arg2, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 70))
|
|
|
|
>foo : string, Symbol(foo, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 77))
|
|
|
|
>bing : number, Symbol(bing, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 90))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 28))
|
|
|
|
>r : T, Symbol(r, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 117))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 13))
|
|
|
|
>U : U, Symbol(U, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 28))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a10: new <T extends Derived>(...x: T[]) => T; // ok
|
2015-04-13 23:01:57 +02:00
|
|
|
>a10 : new <T extends Derived>(...x: T[]) => T, Symbol(a10, Decl(constructSignatureAssignabilityInInheritance2.ts, 58, 128))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 59, 14))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>x : T[], Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 59, 33))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 59, 14))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 59, 14))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a11: new <T extends Base>(x: T, y: T) => T; // ok
|
2015-04-13 23:01:57 +02:00
|
|
|
>a11 : new <T extends Base>(x: T, y: T) => T, Symbol(a11, Decl(constructSignatureAssignabilityInInheritance2.ts, 59, 49))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 60, 14))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>x : T, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 60, 30))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 60, 14))
|
|
|
|
>y : T, Symbol(y, Decl(constructSignatureAssignabilityInInheritance2.ts, 60, 35))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 60, 14))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 60, 14))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a12: new <T extends Array<Base>>(x: Array<Base>, y: T) => Array<Derived>; // ok, less specific parameter type
|
2015-04-13 23:01:57 +02:00
|
|
|
>a12 : new <T extends Base[]>(x: Base[], y: T) => Derived[], Symbol(a12, Decl(constructSignatureAssignabilityInInheritance2.ts, 60, 47))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 61, 14))
|
|
|
|
>Array : T[], Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>x : Base[], Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 61, 37))
|
|
|
|
>Array : T[], Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>y : T, Symbol(y, Decl(constructSignatureAssignabilityInInheritance2.ts, 61, 52))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 61, 14))
|
|
|
|
>Array : T[], Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a13: new <T extends Array<Derived>>(x: Array<Base>, y: T) => T; // ok, T = Array<Derived>, satisfies constraint, contextual signature instantiation succeeds
|
2015-04-13 23:01:57 +02:00
|
|
|
>a13 : new <T extends Derived[]>(x: Base[], y: T) => T, Symbol(a13, Decl(constructSignatureAssignabilityInInheritance2.ts, 61, 77))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 62, 14))
|
|
|
|
>Array : T[], Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
|
|
>Derived : Derived, Symbol(Derived, Decl(constructSignatureAssignabilityInInheritance2.ts, 2, 27))
|
|
|
|
>x : Base[], Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 62, 40))
|
|
|
|
>Array : T[], Symbol(Array, Decl(lib.d.ts, 1000, 23), Decl(lib.d.ts, 1171, 11))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>y : T, Symbol(y, Decl(constructSignatureAssignabilityInInheritance2.ts, 62, 55))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 62, 14))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 62, 14))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a14: new <T>(x: { a: T; b: T }) => T; // ok, best common type yields T = {} but that's satisfactory for this signature
|
2015-04-13 23:01:57 +02:00
|
|
|
>a14 : new <T>(x: { a: T; b: T; }) => T, Symbol(a14, Decl(constructSignatureAssignabilityInInheritance2.ts, 62, 67))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 63, 14))
|
|
|
|
>x : { a: T; b: T; }, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 63, 17))
|
|
|
|
>a : T, Symbol(a, Decl(constructSignatureAssignabilityInInheritance2.ts, 63, 21))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 63, 14))
|
|
|
|
>b : T, Symbol(b, Decl(constructSignatureAssignabilityInInheritance2.ts, 63, 27))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 63, 14))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 63, 14))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a15: new <T>(x: T) => T[]; // ok
|
2015-04-13 23:01:57 +02:00
|
|
|
>a15 : new <T>(x: T) => T[], Symbol(a15, Decl(constructSignatureAssignabilityInInheritance2.ts, 63, 41))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 64, 14))
|
|
|
|
>x : T, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 64, 17))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 64, 14))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 64, 14))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a16: new <T extends Base>(x: T) => number[]; // ok
|
2015-04-13 23:01:57 +02:00
|
|
|
>a16 : new <T extends Base>(x: T) => number[], Symbol(a16, Decl(constructSignatureAssignabilityInInheritance2.ts, 64, 30))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 65, 14))
|
|
|
|
>Base : Base, Symbol(Base, Decl(constructSignatureAssignabilityInInheritance2.ts, 0, 0))
|
|
|
|
>x : T, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 65, 30))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 65, 14))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a17: new <T>(x: new (a: T) => T) => T[]; // ok
|
2015-04-13 23:01:57 +02:00
|
|
|
>a17 : new <T>(x: new (a: T) => T) => T[], Symbol(a17, Decl(constructSignatureAssignabilityInInheritance2.ts, 65, 48))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 66, 14))
|
|
|
|
>x : new (a: T) => T, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 66, 17))
|
|
|
|
>a : T, Symbol(a, Decl(constructSignatureAssignabilityInInheritance2.ts, 66, 25))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 66, 14))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 66, 14))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 66, 14))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
a18: new <T>(x: new (a: T) => T) => T[]; // ok, no inferences for T but assignable to any
|
2015-04-13 23:01:57 +02:00
|
|
|
>a18 : new <T>(x: new (a: T) => T) => T[], Symbol(a18, Decl(constructSignatureAssignabilityInInheritance2.ts, 66, 44))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 67, 14))
|
|
|
|
>x : new (a: T) => T, Symbol(x, Decl(constructSignatureAssignabilityInInheritance2.ts, 67, 17))
|
|
|
|
>a : T, Symbol(a, Decl(constructSignatureAssignabilityInInheritance2.ts, 67, 25))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 67, 14))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 67, 14))
|
|
|
|
>T : T, Symbol(T, Decl(constructSignatureAssignabilityInInheritance2.ts, 67, 14))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|