Skip to content

Commit

Permalink
update baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Jul 22, 2023
1 parent 3286ba0 commit 3825f0e
Show file tree
Hide file tree
Showing 15 changed files with 211 additions and 211 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ var a: { new(x: Date): string }
>x : Date

var b = { new(x: RegExp) { return ''; } }; // not a construct signature, function called new
>b : { new(x: RegExp): string; }
>{ new(x: RegExp) { return ''; } } : { new(x: RegExp): string; }
>b : { "new"(x: RegExp): string; }
>{ new(x: RegExp) { return ''; } } : { "new"(x: RegExp): string; }
>new : (x: RegExp) => string
>x : RegExp
>'' : ""
Expand Down Expand Up @@ -89,17 +89,17 @@ function foo3(x: any) { }
>x : any

function foo4(x: typeof b);
>foo4 : { (x: typeof b): any; (x: { new(x: RegExp): string; }): any; }
>x : { new(x: RegExp): string; }
>b : { new(x: RegExp): string; }
>foo4 : { (x: typeof b): any; (x: { "new"(x: RegExp): string; }): any; }
>x : { "new"(x: RegExp): string; }
>b : { "new"(x: RegExp): string; }

function foo4(x: typeof b); // error
>foo4 : { (x: { new(x: RegExp): string; }): any; (x: typeof b): any; }
>x : { new(x: RegExp): string; }
>b : { new(x: RegExp): string; }
>foo4 : { (x: { "new"(x: RegExp): string; }): any; (x: typeof b): any; }
>x : { "new"(x: RegExp): string; }
>b : { "new"(x: RegExp): string; }

function foo4(x: any) { }
>foo4 : { (x: { new(x: RegExp): string; }): any; (x: { new(x: RegExp): string; }): any; }
>foo4 : { (x: { "new"(x: RegExp): string; }): any; (x: { "new"(x: RegExp): string; }): any; }
>x : any

function foo8(x: B);
Expand Down Expand Up @@ -140,16 +140,16 @@ function foo10(x: any) { }
>x : any

function foo11(x: B);
>foo11 : { (x: B): any; (x: { new(x: RegExp): string; }): any; }
>foo11 : { (x: B): any; (x: { "new"(x: RegExp): string; }): any; }
>x : B

function foo11(x: typeof b); // ok
>foo11 : { (x: B): any; (x: typeof b): any; }
>x : { new(x: RegExp): string; }
>b : { new(x: RegExp): string; }
>x : { "new"(x: RegExp): string; }
>b : { "new"(x: RegExp): string; }

function foo11(x: any) { }
>foo11 : { (x: B): any; (x: { new(x: RegExp): string; }): any; }
>foo11 : { (x: B): any; (x: { "new"(x: RegExp): string; }): any; }
>x : any

function foo12(x: I);
Expand Down Expand Up @@ -190,16 +190,16 @@ function foo13(x: any) { }
>x : any

function foo14(x: I);
>foo14 : { (x: I): any; (x: { new(x: RegExp): string; }): any; }
>foo14 : { (x: I): any; (x: { "new"(x: RegExp): string; }): any; }
>x : I

function foo14(x: typeof b); // ok
>foo14 : { (x: I): any; (x: typeof b): any; }
>x : { new(x: RegExp): string; }
>b : { new(x: RegExp): string; }
>x : { "new"(x: RegExp): string; }
>b : { "new"(x: RegExp): string; }

function foo14(x: any) { }
>foo14 : { (x: I): any; (x: { new(x: RegExp): string; }): any; }
>foo14 : { (x: I): any; (x: { "new"(x: RegExp): string; }): any; }
>x : any

function foo15(x: I2<string>);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ var a: { new(x: string, y: string): string }
>y : string

var b = { new(x: string) { return ''; } }; // not a construct signature, function called new
>b : { new(x: string): string; }
>{ new(x: string) { return ''; } } : { new(x: string): string; }
>b : { "new"(x: string): string; }
>{ new(x: string) { return ''; } } : { "new"(x: string): string; }
>new : (x: string) => string
>x : string
>'' : ""
Expand Down Expand Up @@ -92,17 +92,17 @@ function foo3(x: any) { }
>x : any

function foo4(x: typeof b);
>foo4 : { (x: typeof b): any; (x: { new(x: string): string; }): any; }
>x : { new(x: string): string; }
>b : { new(x: string): string; }
>foo4 : { (x: typeof b): any; (x: { "new"(x: string): string; }): any; }
>x : { "new"(x: string): string; }
>b : { "new"(x: string): string; }

function foo4(x: typeof b); // error
>foo4 : { (x: { new(x: string): string; }): any; (x: typeof b): any; }
>x : { new(x: string): string; }
>b : { new(x: string): string; }
>foo4 : { (x: { "new"(x: string): string; }): any; (x: typeof b): any; }
>x : { "new"(x: string): string; }
>b : { "new"(x: string): string; }

function foo4(x: any) { }
>foo4 : { (x: { new(x: string): string; }): any; (x: { new(x: string): string; }): any; }
>foo4 : { (x: { "new"(x: string): string; }): any; (x: { "new"(x: string): string; }): any; }
>x : any

function foo8(x: B);
Expand Down Expand Up @@ -143,16 +143,16 @@ function foo10(x: any) { }
>x : any

function foo11(x: B);
>foo11 : { (x: B): any; (x: { new(x: string): string; }): any; }
>foo11 : { (x: B): any; (x: { "new"(x: string): string; }): any; }
>x : B

function foo11(x: typeof b); // ok
>foo11 : { (x: B): any; (x: typeof b): any; }
>x : { new(x: string): string; }
>b : { new(x: string): string; }
>x : { "new"(x: string): string; }
>b : { "new"(x: string): string; }

function foo11(x: any) { }
>foo11 : { (x: B): any; (x: { new(x: string): string; }): any; }
>foo11 : { (x: B): any; (x: { "new"(x: string): string; }): any; }
>x : any

function foo12(x: I);
Expand Down Expand Up @@ -193,16 +193,16 @@ function foo13(x: any) { }
>x : any

function foo14(x: I);
>foo14 : { (x: I): any; (x: { new(x: string): string; }): any; }
>foo14 : { (x: I): any; (x: { "new"(x: string): string; }): any; }
>x : I

function foo14(x: typeof b); // ok
>foo14 : { (x: I): any; (x: typeof b): any; }
>x : { new(x: string): string; }
>b : { new(x: string): string; }
>x : { "new"(x: string): string; }
>b : { "new"(x: string): string; }

function foo14(x: any) { }
>foo14 : { (x: I): any; (x: { new(x: string): string; }): any; }
>foo14 : { (x: I): any; (x: { "new"(x: string): string; }): any; }
>x : any

function foo15(x: I2<string>);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ var a: { new<T extends Array<string>>(x: T): string }
>x : T

var b = { new<T extends RegExp>(x: T) { return ''; } }; // not a construct signature, function called new
>b : { new<T extends RegExp>(x: T): string; }
>{ new<T extends RegExp>(x: T) { return ''; } } : { new<T extends RegExp>(x: T): string; }
>b : { "new"<T extends RegExp>(x: T): string; }
>{ new<T extends RegExp>(x: T) { return ''; } } : { "new"<T extends RegExp>(x: T): string; }
>new : <T extends RegExp>(x: T) => string
>x : T
>'' : ""
Expand Down Expand Up @@ -91,17 +91,17 @@ function foo3(x: any) { }
>x : any

function foo4(x: typeof b);
>foo4 : { (x: typeof b): any; (x: { new<T extends RegExp>(x: T): string; }): any; }
>x : { new<T extends RegExp>(x: T): string; }
>b : { new<T extends RegExp>(x: T): string; }
>foo4 : { (x: typeof b): any; (x: { "new"<T extends RegExp>(x: T): string; }): any; }
>x : { "new"<T extends RegExp>(x: T): string; }
>b : { "new"<T extends RegExp>(x: T): string; }

function foo4(x: typeof b); // error
>foo4 : { (x: { new<T extends RegExp>(x: T): string; }): any; (x: typeof b): any; }
>x : { new<T extends RegExp>(x: T): string; }
>b : { new<T extends RegExp>(x: T): string; }
>foo4 : { (x: { "new"<T extends RegExp>(x: T): string; }): any; (x: typeof b): any; }
>x : { "new"<T extends RegExp>(x: T): string; }
>b : { "new"<T extends RegExp>(x: T): string; }

function foo4(x: any) { }
>foo4 : { (x: { new<T extends RegExp>(x: T): string; }): any; (x: { new<T extends RegExp>(x: T): string; }): any; }
>foo4 : { (x: { "new"<T extends RegExp>(x: T): string; }): any; (x: { "new"<T extends RegExp>(x: T): string; }): any; }
>x : any

function foo8(x: B<Array<number>>);
Expand Down Expand Up @@ -142,16 +142,16 @@ function foo10(x: any) { }
>x : any

function foo11(x: B<Array<number>>);
>foo11 : { (x: B<Array<number>>): any; (x: { new<T extends RegExp>(x: T): string; }): any; }
>foo11 : { (x: B<Array<number>>): any; (x: { "new"<T extends RegExp>(x: T): string; }): any; }
>x : B<number[]>

function foo11(x: typeof b); // ok
>foo11 : { (x: B<number[]>): any; (x: typeof b): any; }
>x : { new<T extends RegExp>(x: T): string; }
>b : { new<T extends RegExp>(x: T): string; }
>x : { "new"<T extends RegExp>(x: T): string; }
>b : { "new"<T extends RegExp>(x: T): string; }

function foo11(x: any) { }
>foo11 : { (x: B<number[]>): any; (x: { new<T extends RegExp>(x: T): string; }): any; }
>foo11 : { (x: B<number[]>): any; (x: { "new"<T extends RegExp>(x: T): string; }): any; }
>x : any

function foo12(x: I<Number>);
Expand Down Expand Up @@ -192,15 +192,15 @@ function foo13(x: any) { }
>x : any

function foo14(x: I<Number>);
>foo14 : { (x: I<Number>): any; (x: { new<T extends RegExp>(x: T): string; }): any; }
>foo14 : { (x: I<Number>): any; (x: { "new"<T extends RegExp>(x: T): string; }): any; }
>x : I<Number>

function foo14(x: typeof b); // ok
>foo14 : { (x: I<Number>): any; (x: typeof b): any; }
>x : { new<T extends RegExp>(x: T): string; }
>b : { new<T extends RegExp>(x: T): string; }
>x : { "new"<T extends RegExp>(x: T): string; }
>b : { "new"<T extends RegExp>(x: T): string; }

function foo14(x: any) { }
>foo14 : { (x: I<Number>): any; (x: { new<T extends RegExp>(x: T): string; }): any; }
>foo14 : { (x: I<Number>): any; (x: { "new"<T extends RegExp>(x: T): string; }): any; }
>x : any

Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ var a: { new<T extends U, U extends Array<string>>(x: T, y: U): string }
>y : U

var b = { new<T extends U, U extends RegExp>(x: T, y: U) { return ''; } }; // not a construct signature, function called new
>b : { new<T extends U, U extends RegExp>(x: T, y: U): string; }
>{ new<T extends U, U extends RegExp>(x: T, y: U) { return ''; } } : { new<T extends U, U extends RegExp>(x: T, y: U): string; }
>b : { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }
>{ new<T extends U, U extends RegExp>(x: T, y: U) { return ''; } } : { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }
>new : <T extends U, U extends RegExp>(x: T, y: U) => string
>x : T
>y : U
Expand Down Expand Up @@ -105,17 +105,17 @@ function foo3(x: any) { }
>x : any

function foo4(x: typeof b);
>foo4 : { (x: typeof b): any; (x: { new<T extends U, U extends RegExp>(x: T, y: U): string; }): any; }
>x : { new<T extends U, U extends RegExp>(x: T, y: U): string; }
>b : { new<T extends U, U extends RegExp>(x: T, y: U): string; }
>foo4 : { (x: typeof b): any; (x: { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }): any; }
>x : { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }
>b : { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }

function foo4(x: typeof b); // error
>foo4 : { (x: { new<T extends U, U extends RegExp>(x: T, y: U): string; }): any; (x: typeof b): any; }
>x : { new<T extends U, U extends RegExp>(x: T, y: U): string; }
>b : { new<T extends U, U extends RegExp>(x: T, y: U): string; }
>foo4 : { (x: { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }): any; (x: typeof b): any; }
>x : { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }
>b : { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }

function foo4(x: any) { }
>foo4 : { (x: { new<T extends U, U extends RegExp>(x: T, y: U): string; }): any; (x: { new<T extends U, U extends RegExp>(x: T, y: U): string; }): any; }
>foo4 : { (x: { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }): any; (x: { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }): any; }
>x : any

function foo5c(x: C<String, String>);
Expand Down Expand Up @@ -180,16 +180,16 @@ function foo10(x: any) { }
>x : any

function foo11(x: B<Array<number>, Array<number>>);
>foo11 : { (x: B<Array<number>, Array<number>>): any; (x: { new<T extends U, U extends RegExp>(x: T, y: U): string; }): any; }
>foo11 : { (x: B<Array<number>, Array<number>>): any; (x: { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }): any; }
>x : B<number[], number[]>

function foo11(x: typeof b); // ok
>foo11 : { (x: B<number[], number[]>): any; (x: typeof b): any; }
>x : { new<T extends U, U extends RegExp>(x: T, y: U): string; }
>b : { new<T extends U, U extends RegExp>(x: T, y: U): string; }
>x : { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }
>b : { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }

function foo11(x: any) { }
>foo11 : { (x: B<number[], number[]>): any; (x: { new<T extends U, U extends RegExp>(x: T, y: U): string; }): any; }
>foo11 : { (x: B<number[], number[]>): any; (x: { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }): any; }
>x : any

function foo12(x: I<Number, Number>);
Expand Down Expand Up @@ -230,15 +230,15 @@ function foo13(x: any) { }
>x : any

function foo14(x: I<Number, Number>);
>foo14 : { (x: I<Number, Number>): any; (x: { new<T extends U, U extends RegExp>(x: T, y: U): string; }): any; }
>foo14 : { (x: I<Number, Number>): any; (x: { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }): any; }
>x : I<Number, Number>

function foo14(x: typeof b); // ok
>foo14 : { (x: I<Number, Number>): any; (x: typeof b): any; }
>x : { new<T extends U, U extends RegExp>(x: T, y: U): string; }
>b : { new<T extends U, U extends RegExp>(x: T, y: U): string; }
>x : { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }
>b : { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }

function foo14(x: any) { }
>foo14 : { (x: I<Number, Number>): any; (x: { new<T extends U, U extends RegExp>(x: T, y: U): string; }): any; }
>foo14 : { (x: I<Number, Number>): any; (x: { "new"<T extends U, U extends RegExp>(x: T, y: U): string; }): any; }
>x : any

Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ var a: { new<T extends U, U extends One>(x: T, y: U): string }
>y : U

var b = { new<T extends U, U extends Two>(x: T, y: U) { return ''; } }; // not a construct signature, function called new
>b : { new<T extends U, U extends Two>(x: T, y: U): string; }
>{ new<T extends U, U extends Two>(x: T, y: U) { return ''; } } : { new<T extends U, U extends Two>(x: T, y: U): string; }
>b : { "new"<T extends U, U extends Two>(x: T, y: U): string; }
>{ new<T extends U, U extends Two>(x: T, y: U) { return ''; } } : { "new"<T extends U, U extends Two>(x: T, y: U): string; }
>new : <T extends U, U extends Two>(x: T, y: U) => string
>x : T
>y : U
Expand Down Expand Up @@ -125,17 +125,17 @@ function foo3(x: any) { }
>x : any

function foo4(x: typeof b);
>foo4 : { (x: typeof b): any; (x: { new<T extends U, U extends Two>(x: T, y: U): string; }): any; }
>x : { new<T extends U, U extends Two>(x: T, y: U): string; }
>b : { new<T extends U, U extends Two>(x: T, y: U): string; }
>foo4 : { (x: typeof b): any; (x: { "new"<T extends U, U extends Two>(x: T, y: U): string; }): any; }
>x : { "new"<T extends U, U extends Two>(x: T, y: U): string; }
>b : { "new"<T extends U, U extends Two>(x: T, y: U): string; }

function foo4(x: typeof b); // error
>foo4 : { (x: { new<T extends U, U extends Two>(x: T, y: U): string; }): any; (x: typeof b): any; }
>x : { new<T extends U, U extends Two>(x: T, y: U): string; }
>b : { new<T extends U, U extends Two>(x: T, y: U): string; }
>foo4 : { (x: { "new"<T extends U, U extends Two>(x: T, y: U): string; }): any; (x: typeof b): any; }
>x : { "new"<T extends U, U extends Two>(x: T, y: U): string; }
>b : { "new"<T extends U, U extends Two>(x: T, y: U): string; }

function foo4(x: any) { }
>foo4 : { (x: { new<T extends U, U extends Two>(x: T, y: U): string; }): any; (x: { new<T extends U, U extends Two>(x: T, y: U): string; }): any; }
>foo4 : { (x: { "new"<T extends U, U extends Two>(x: T, y: U): string; }): any; (x: { "new"<T extends U, U extends Two>(x: T, y: U): string; }): any; }
>x : any

function foo5c(x: C<Three, Three>);
Expand Down Expand Up @@ -200,16 +200,16 @@ function foo10(x: any) { }
>x : any

function foo11(x: B<Two, Two>);
>foo11 : { (x: B<Two, Two>): any; (x: { new<T extends U, U extends Two>(x: T, y: U): string; }): any; }
>foo11 : { (x: B<Two, Two>): any; (x: { "new"<T extends U, U extends Two>(x: T, y: U): string; }): any; }
>x : B<Two, Two>

function foo11(x: typeof b); // ok
>foo11 : { (x: B<Two, Two>): any; (x: typeof b): any; }
>x : { new<T extends U, U extends Two>(x: T, y: U): string; }
>b : { new<T extends U, U extends Two>(x: T, y: U): string; }
>x : { "new"<T extends U, U extends Two>(x: T, y: U): string; }
>b : { "new"<T extends U, U extends Two>(x: T, y: U): string; }

function foo11(x: any) { }
>foo11 : { (x: B<Two, Two>): any; (x: { new<T extends U, U extends Two>(x: T, y: U): string; }): any; }
>foo11 : { (x: B<Two, Two>): any; (x: { "new"<T extends U, U extends Two>(x: T, y: U): string; }): any; }
>x : any

function foo12(x: I<Five<string>, Five<string>>);
Expand Down Expand Up @@ -250,15 +250,15 @@ function foo13(x: any) { }
>x : any

function foo14(x: I<Five<string>, Five<string>>);
>foo14 : { (x: I<Five<string>, Five<string>>): any; (x: { new<T extends U, U extends Two>(x: T, y: U): string; }): any; }
>foo14 : { (x: I<Five<string>, Five<string>>): any; (x: { "new"<T extends U, U extends Two>(x: T, y: U): string; }): any; }
>x : I<Five<string>, Five<string>>

function foo14(x: typeof b); // ok
>foo14 : { (x: I<Five<string>, Five<string>>): any; (x: typeof b): any; }
>x : { new<T extends U, U extends Two>(x: T, y: U): string; }
>b : { new<T extends U, U extends Two>(x: T, y: U): string; }
>x : { "new"<T extends U, U extends Two>(x: T, y: U): string; }
>b : { "new"<T extends U, U extends Two>(x: T, y: U): string; }

function foo14(x: any) { }
>foo14 : { (x: I<Five<string>, Five<string>>): any; (x: { new<T extends U, U extends Two>(x: T, y: U): string; }): any; }
>foo14 : { (x: I<Five<string>, Five<string>>): any; (x: { "new"<T extends U, U extends Two>(x: T, y: U): string; }): any; }
>x : any

Loading

0 comments on commit 3825f0e

Please sign in to comment.