Skip to content

Commit ae7a4e8

Browse files
committed
Blind accept changed baaselines to check progress
1 parent 7f9051e commit ae7a4e8

File tree

9,350 files changed

+342975
-200367
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

9,350 files changed

+342975
-200367
lines changed

testdata/baselines/reference/compiler/allowSyntheticDefaultImports9.types

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ export function bar();
99

1010
=== a.ts ===
1111
import { default as Foo } from "./b";
12-
>default : typeof import("b")
13-
>Foo : typeof import("b")
12+
>default : typeof Foo
13+
>Foo : typeof Foo
1414

1515
Foo.bar();
1616
>Foo.bar() : any
1717
>Foo.bar : () => any
18-
>Foo : typeof import("b")
18+
>Foo : typeof Foo
1919
>bar : () => any
2020

2121
Foo.foo();
2222
>Foo.foo() : any
2323
>Foo.foo : () => any
24-
>Foo : typeof import("b")
24+
>Foo : typeof Foo
2525
>foo : () => any
2626

testdata/baselines/reference/compiler/duplicateIdentifierChecks.errors.txt

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ duplicateIdentifierChecks.ts(140,9): error TS2300: Duplicate identifier 'x'.
7777
duplicateIdentifierChecks.ts(146,9): error TS2300: Duplicate identifier 'foo'.
7878
duplicateIdentifierChecks.ts(147,5): error TS2300: Duplicate identifier 'foo'.
7979
duplicateIdentifierChecks.ts(148,9): error TS2300: Duplicate identifier 'foo'.
80-
duplicateIdentifierChecks.ts(152,9): error TS2300: Duplicate identifier 'foo'.
81-
duplicateIdentifierChecks.ts(153,5): error TS2300: Duplicate identifier 'foo'.
82-
duplicateIdentifierChecks.ts(154,9): error TS2300: Duplicate identifier 'foo'.
83-
duplicateIdentifierChecks.ts(158,9): error TS2300: Duplicate identifier 'foo'.
84-
duplicateIdentifierChecks.ts(159,9): error TS2300: Duplicate identifier 'foo'.
85-
duplicateIdentifierChecks.ts(160,9): error TS2300: Duplicate identifier 'foo'.
80+
duplicateIdentifierChecks.ts(152,9): error TS2300: Duplicate identifier '[foo]'.
81+
duplicateIdentifierChecks.ts(153,5): error TS2300: Duplicate identifier '[foo]'.
82+
duplicateIdentifierChecks.ts(154,9): error TS2300: Duplicate identifier '[foo]'.
83+
duplicateIdentifierChecks.ts(158,9): error TS2300: Duplicate identifier '[foo]'.
84+
duplicateIdentifierChecks.ts(159,9): error TS2300: Duplicate identifier '[foo]'.
85+
duplicateIdentifierChecks.ts(160,9): error TS2300: Duplicate identifier '[foo]'.
8686
duplicateIdentifierChecks.ts(164,5): error TS2300: Duplicate identifier 'foo'.
8787
duplicateIdentifierChecks.ts(165,5): error TS2300: Duplicate identifier 'foo'.
8888
duplicateIdentifierChecks.ts(169,5): error TS2300: Duplicate identifier 'foo'.
@@ -420,33 +420,33 @@ duplicateIdentifierChecks.ts(209,9): error TS2300: Duplicate identifier '[sym]'.
420420
interface I11 {
421421
get [foo](): number;
422422
~~~~~
423-
!!! error TS2300: Duplicate identifier 'foo'.
424-
!!! related TS6203 duplicateIdentifierChecks.ts:153:5: 'foo' was also declared here.
423+
!!! error TS2300: Duplicate identifier '[foo]'.
424+
!!! related TS6203 duplicateIdentifierChecks.ts:153:5: '[foo]' was also declared here.
425425
foo: number;
426426
~~~
427-
!!! error TS2300: Duplicate identifier 'foo'.
428-
!!! related TS6203 duplicateIdentifierChecks.ts:152:9: 'foo' was also declared here.
427+
!!! error TS2300: Duplicate identifier '[foo]'.
428+
!!! related TS6203 duplicateIdentifierChecks.ts:152:9: '[foo]' was also declared here.
429429
!!! related TS6204 duplicateIdentifierChecks.ts:154:9: and here.
430430
set [foo](value: number);
431431
~~~~~
432-
!!! error TS2300: Duplicate identifier 'foo'.
433-
!!! related TS6203 duplicateIdentifierChecks.ts:153:5: 'foo' was also declared here.
432+
!!! error TS2300: Duplicate identifier '[foo]'.
433+
!!! related TS6203 duplicateIdentifierChecks.ts:153:5: '[foo]' was also declared here.
434434
}
435435

436436
interface I12 {
437437
get foo(): number;
438438
~~~
439-
!!! error TS2300: Duplicate identifier 'foo'.
440-
!!! related TS6203 duplicateIdentifierChecks.ts:159:9: 'foo' was also declared here.
439+
!!! error TS2300: Duplicate identifier '[foo]'.
440+
!!! related TS6203 duplicateIdentifierChecks.ts:159:9: '[foo]' was also declared here.
441441
set [foo](value: number);
442442
~~~~~
443-
!!! error TS2300: Duplicate identifier 'foo'.
444-
!!! related TS6203 duplicateIdentifierChecks.ts:158:9: 'foo' was also declared here.
443+
!!! error TS2300: Duplicate identifier '[foo]'.
444+
!!! related TS6203 duplicateIdentifierChecks.ts:158:9: '[foo]' was also declared here.
445445
!!! related TS6204 duplicateIdentifierChecks.ts:160:9: and here.
446446
set foo(value: number);
447447
~~~
448-
!!! error TS2300: Duplicate identifier 'foo'.
449-
!!! related TS6203 duplicateIdentifierChecks.ts:159:9: 'foo' was also declared here.
448+
!!! error TS2300: Duplicate identifier '[foo]'.
449+
!!! related TS6203 duplicateIdentifierChecks.ts:159:9: '[foo]' was also declared here.
450450
}
451451

452452
interface I13 {

testdata/baselines/reference/compiler/duplicateIdentifierChecks.symbols

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -337,15 +337,15 @@ interface I10 {
337337
>I10 : Symbol(I10, Decl(duplicateIdentifierChecks.ts, 142, 17))
338338

339339
get [foo](): number;
340-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 144, 15))
340+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 144, 15))
341341
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
342342

343343
[foo]: number;
344-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 145, 24))
344+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 145, 24))
345345
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
346346

347347
set [foo](value: number);
348-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 146, 18))
348+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 146, 18))
349349
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
350350
>value : Symbol(value, Decl(duplicateIdentifierChecks.ts, 147, 14))
351351
}
@@ -354,14 +354,14 @@ interface I11 {
354354
>I11 : Symbol(I11, Decl(duplicateIdentifierChecks.ts, 148, 1))
355355

356356
get [foo](): number;
357-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 150, 15), Decl(duplicateIdentifierChecks.ts, 152, 16))
357+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 150, 15), Decl(duplicateIdentifierChecks.ts, 152, 16))
358358
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
359359

360360
foo: number;
361361
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 151, 24))
362362

363363
set [foo](value: number);
364-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 150, 15), Decl(duplicateIdentifierChecks.ts, 152, 16))
364+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 150, 15), Decl(duplicateIdentifierChecks.ts, 152, 16))
365365
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
366366
>value : Symbol(value, Decl(duplicateIdentifierChecks.ts, 153, 14))
367367
}
@@ -373,7 +373,7 @@ interface I12 {
373373
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 156, 15), Decl(duplicateIdentifierChecks.ts, 158, 29))
374374

375375
set [foo](value: number);
376-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 157, 22))
376+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 157, 22))
377377
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
378378
>value : Symbol(value, Decl(duplicateIdentifierChecks.ts, 158, 14))
379379

@@ -426,15 +426,15 @@ declare class C10 {
426426
>C10 : Symbol(C10, Decl(duplicateIdentifierChecks.ts, 177, 1))
427427

428428
get [foo](): number;
429-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 179, 19))
429+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 179, 19))
430430
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
431431

432432
[foo]: number;
433-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 180, 24))
433+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 180, 24))
434434
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
435435

436436
set [foo](value: number);
437-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 181, 18))
437+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 181, 18))
438438
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
439439
>value : Symbol(value, Decl(duplicateIdentifierChecks.ts, 182, 14))
440440
}
@@ -443,15 +443,15 @@ declare class C11 {
443443
>C11 : Symbol(C11, Decl(duplicateIdentifierChecks.ts, 183, 1))
444444

445445
[foo]: number;
446-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 185, 19))
446+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 185, 19))
447447
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
448448

449449
get [foo](): number;
450-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 186, 18))
450+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 186, 18))
451451
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
452452

453453
set [foo](value: number);
454-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 187, 24))
454+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 187, 24))
455455
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
456456
>value : Symbol(value, Decl(duplicateIdentifierChecks.ts, 188, 14))
457457
}
@@ -460,16 +460,16 @@ declare class C12 {
460460
>C12 : Symbol(C12, Decl(duplicateIdentifierChecks.ts, 189, 1))
461461

462462
get [foo](): number;
463-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 191, 19), Decl(duplicateIdentifierChecks.ts, 192, 24))
463+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 191, 19), Decl(duplicateIdentifierChecks.ts, 192, 24))
464464
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
465465

466466
set [foo](value: number);
467-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 191, 19), Decl(duplicateIdentifierChecks.ts, 192, 24))
467+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 191, 19), Decl(duplicateIdentifierChecks.ts, 192, 24))
468468
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
469469
>value : Symbol(value, Decl(duplicateIdentifierChecks.ts, 193, 14))
470470

471471
[foo]: number;
472-
>[foo] : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 193, 29))
472+
>[foo] : Symbol([foo], Decl(duplicateIdentifierChecks.ts, 193, 29))
473473
>foo : Symbol(foo, Decl(duplicateIdentifierChecks.ts, 142, 5))
474474
}
475475

testdata/baselines/reference/compiler/settingsSimpleTest(strict=false).js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ const x: string = undefined;
77
//// [settingsSimpleTest.js]
88
const x = undefined;
99
export {};
10+
11+
12+
//// [settingsSimpleTest.d.ts]
13+
export {};

testdata/baselines/reference/compiler/settingsSimpleTest(strict=true).js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ const x: string = undefined;
77
//// [settingsSimpleTest.js]
88
const x = undefined;
99
export {};
10+
11+
12+
//// [settingsSimpleTest.d.ts]
13+
export {};

testdata/baselines/reference/compiler/symbolLinkDeclarationEmitModuleNamesRootDir.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3333
exports.CONTROLLER_CLASS = void 0;
3434
const context_1 = require("@loopback/context");
3535
exports.CONTROLLER_CLASS = context_1.BindingKey.create(null); // line in question
36+
37+
38+
//// [application.d.ts]
39+
import { Constructor } from "@loopback/context";
40+
export type ControllerClass = Constructor<any>;
41+
//// [usage.d.ts]
42+
import { ControllerClass } from './application';
43+
import { BindingKey } from '@loopback/context';
44+
export declare const CONTROLLER_CLASS: BindingKey<ControllerClass>; // line in question

testdata/baselines/reference/submodule/compiler/ClassDeclaration22.symbols

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ class C {
55
>C : Symbol(C, Decl(ClassDeclaration22.ts, 0, 0))
66

77
"foo"();
8-
>"foo" : Symbol(foo, Decl(ClassDeclaration22.ts, 0, 9))
8+
>"foo" : Symbol("foo", Decl(ClassDeclaration22.ts, 0, 9))
99

1010
"bar"() { }
11-
>"bar" : Symbol(bar, Decl(ClassDeclaration22.ts, 1, 12))
11+
>"bar" : Symbol("bar", Decl(ClassDeclaration22.ts, 1, 12))
1212
}

testdata/baselines/reference/submodule/compiler/ClassDeclaration22.symbols.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
"foo"();
77
->"foo" : Symbol(C["foo"], Decl(ClassDeclaration22.ts, 0, 9))
8-
+>"foo" : Symbol(foo, Decl(ClassDeclaration22.ts, 0, 9))
8+
+>"foo" : Symbol("foo", Decl(ClassDeclaration22.ts, 0, 9))
99

1010
"bar"() { }
1111
->"bar" : Symbol(C["bar"], Decl(ClassDeclaration22.ts, 1, 12))
12-
+>"bar" : Symbol(bar, Decl(ClassDeclaration22.ts, 1, 12))
12+
+>"bar" : Symbol("bar", Decl(ClassDeclaration22.ts, 1, 12))
1313
}

testdata/baselines/reference/submodule/compiler/DeclarationErrorsNoEmitOnError.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ export interface I {
99
//// [DeclarationErrorsNoEmitOnError.js]
1010
"use strict";
1111
Object.defineProperty(exports, "__esModule", { value: true });
12+
13+
14+
//// [DeclarationErrorsNoEmitOnError.d.ts]
15+
type T = {
16+
x: number;
17+
};
18+
export interface I {
19+
f: T;
20+
}
21+
export {};

testdata/baselines/reference/submodule/compiler/DeclarationErrorsNoEmitOnError.js.diff

Lines changed: 0 additions & 16 deletions
This file was deleted.

testdata/baselines/reference/submodule/compiler/accessorDeclarationEmitVisibilityErrors.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ export class Q {
99
export class Q {
1010
set bet(arg) { }
1111
}
12+
13+
14+
//// [accessorDeclarationEmitVisibilityErrors.d.ts]
15+
export declare class Q {
16+
set bet(arg: DoesNotExist);
17+
}

testdata/baselines/reference/submodule/compiler/accessorDeclarationEmitVisibilityErrors.js.diff

Lines changed: 0 additions & 12 deletions
This file was deleted.

testdata/baselines/reference/submodule/compiler/accessorInferredReturnTypeErrorInReturnStatement.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@ exports.basePrototype = {
1919
return _this.collection.schema.primaryPath;
2020
},
2121
};
22+
23+
24+
//// [accessorInferredReturnTypeErrorInReturnStatement.d.ts]
25+
export declare var basePrototype: {
26+
readonly primaryPath: any;
27+
};

testdata/baselines/reference/submodule/compiler/accessorInferredReturnTypeErrorInReturnStatement.js.diff

Lines changed: 0 additions & 12 deletions
This file was deleted.

testdata/baselines/reference/submodule/compiler/accessorInferredReturnTypeErrorInReturnStatement.symbols

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export var basePrototype = {
99

1010
var _this = this;
1111
>_this : Symbol(_this, Decl(accessorInferredReturnTypeErrorInReturnStatement.ts, 2, 7))
12-
>this : Symbol((Anonymous type), Decl(accessorInferredReturnTypeErrorInReturnStatement.ts, 0, 26))
12+
>this : Symbol(basePrototype, Decl(accessorInferredReturnTypeErrorInReturnStatement.ts, 0, 26))
1313

1414
return _this.collection.schema.primaryPath;
1515
>_this : Symbol(_this, Decl(accessorInferredReturnTypeErrorInReturnStatement.ts, 2, 7))

testdata/baselines/reference/submodule/compiler/accessorInferredReturnTypeErrorInReturnStatement.symbols.diff

Lines changed: 0 additions & 11 deletions
This file was deleted.

testdata/baselines/reference/submodule/compiler/aliasAssignments.types

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22

33
=== aliasAssignments_1.ts ===
44
import moduleA = require("./aliasAssignments_moduleA");
5-
>moduleA : typeof import("aliasAssignments_moduleA")
5+
>moduleA : typeof moduleA
66

77
var x = moduleA;
8-
>x : typeof import("aliasAssignments_moduleA")
9-
>moduleA : typeof import("aliasAssignments_moduleA")
8+
>x : typeof moduleA
9+
>moduleA : typeof moduleA
1010

1111
x = 1; // Should be error
1212
>x = 1 : 1
13-
>x : typeof import("aliasAssignments_moduleA")
13+
>x : typeof moduleA
1414
>1 : 1
1515

1616
var y = 1;
1717
>y : number
1818
>1 : 1
1919

2020
y = moduleA; // should be error
21-
>y = moduleA : typeof import("aliasAssignments_moduleA")
21+
>y = moduleA : typeof moduleA
2222
>y : number
23-
>moduleA : typeof import("aliasAssignments_moduleA")
23+
>moduleA : typeof moduleA
2424

2525
=== aliasAssignments_moduleA.ts ===
2626
export class someClass {

0 commit comments

Comments
 (0)