Skip to content

Commit 8db37ee

Browse files
committed
Accept baselines after rebase again
1 parent d0f3e34 commit 8db37ee

13 files changed

+101
-17
lines changed

tests/baselines/reference/acceptSymbolAsWeakType.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//// [tests/cases/compiler/acceptSymbolAsWeakType.ts] ////
2+
13
//// [acceptSymbolAsWeakType.ts]
24
const s: symbol = Symbol('s');
35

tests/baselines/reference/acceptSymbolAsWeakType.symbols

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
=== tests/cases/compiler/acceptSymbolAsWeakType.ts ===
1+
//// [tests/cases/compiler/acceptSymbolAsWeakType.ts] ////
2+
3+
=== acceptSymbolAsWeakType.ts ===
24
const s: symbol = Symbol('s');
35
>s : Symbol(s, Decl(acceptSymbolAsWeakType.ts, 0, 5))
46
>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --))

tests/baselines/reference/acceptSymbolAsWeakType.types

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
=== tests/cases/compiler/acceptSymbolAsWeakType.ts ===
1+
//// [tests/cases/compiler/acceptSymbolAsWeakType.ts] ////
2+
3+
=== acceptSymbolAsWeakType.ts ===
24
const s: symbol = Symbol('s');
35
>s : symbol
46
>Symbol('s') : unique symbol

tests/baselines/reference/dissallowSymbolAsWeakType.errors.txt

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/compiler/dissallowSymbolAsWeakType.ts(3,12): error TS2769: No overload matches this call.
1+
dissallowSymbolAsWeakType.ts(3,12): error TS2769: No overload matches this call.
22
Overload 1 of 2, '(iterable: Iterable<object>): WeakSet<object>', gave the following error.
33
Argument of type 'symbol[]' is not assignable to parameter of type 'Iterable<object>'.
44
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
@@ -8,10 +8,10 @@ tests/cases/compiler/dissallowSymbolAsWeakType.ts(3,12): error TS2769: No overlo
88
Type 'symbol' is not assignable to type 'object'.
99
Overload 2 of 2, '(values?: readonly object[]): WeakSet<object>', gave the following error.
1010
Type 'symbol' is not assignable to type 'object'.
11-
tests/cases/compiler/dissallowSymbolAsWeakType.ts(4,8): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
12-
tests/cases/compiler/dissallowSymbolAsWeakType.ts(5,8): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
13-
tests/cases/compiler/dissallowSymbolAsWeakType.ts(6,11): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
14-
tests/cases/compiler/dissallowSymbolAsWeakType.ts(8,12): error TS2769: No overload matches this call.
11+
dissallowSymbolAsWeakType.ts(4,8): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
12+
dissallowSymbolAsWeakType.ts(5,8): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
13+
dissallowSymbolAsWeakType.ts(6,11): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
14+
dissallowSymbolAsWeakType.ts(8,12): error TS2769: No overload matches this call.
1515
Overload 1 of 2, '(iterable: Iterable<readonly [object, boolean]>): WeakMap<object, boolean>', gave the following error.
1616
Argument of type '[symbol, false][]' is not assignable to parameter of type 'Iterable<readonly [object, boolean]>'.
1717
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
@@ -23,16 +23,16 @@ tests/cases/compiler/dissallowSymbolAsWeakType.ts(8,12): error TS2769: No overlo
2323
Type 'symbol' is not assignable to type 'object'.
2424
Overload 2 of 2, '(entries?: readonly [object, boolean][]): WeakMap<object, boolean>', gave the following error.
2525
Type 'symbol' is not assignable to type 'object'.
26-
tests/cases/compiler/dissallowSymbolAsWeakType.ts(9,8): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
27-
tests/cases/compiler/dissallowSymbolAsWeakType.ts(10,8): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
28-
tests/cases/compiler/dissallowSymbolAsWeakType.ts(11,8): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
29-
tests/cases/compiler/dissallowSymbolAsWeakType.ts(12,11): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
30-
tests/cases/compiler/dissallowSymbolAsWeakType.ts(14,24): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
31-
tests/cases/compiler/dissallowSymbolAsWeakType.ts(18,12): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
32-
tests/cases/compiler/dissallowSymbolAsWeakType.ts(19,14): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
26+
dissallowSymbolAsWeakType.ts(9,8): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
27+
dissallowSymbolAsWeakType.ts(10,8): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
28+
dissallowSymbolAsWeakType.ts(11,8): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
29+
dissallowSymbolAsWeakType.ts(12,11): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
30+
dissallowSymbolAsWeakType.ts(14,24): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
31+
dissallowSymbolAsWeakType.ts(18,12): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
32+
dissallowSymbolAsWeakType.ts(19,14): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'object'.
3333

3434

35-
==== tests/cases/compiler/dissallowSymbolAsWeakType.ts (12 errors) ====
35+
==== dissallowSymbolAsWeakType.ts (12 errors) ====
3636
const s: symbol = Symbol('s');
3737

3838
const ws = new WeakSet([s]);

tests/baselines/reference/dissallowSymbolAsWeakType.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//// [tests/cases/compiler/dissallowSymbolAsWeakType.ts] ////
2+
13
//// [dissallowSymbolAsWeakType.ts]
24
const s: symbol = Symbol('s');
35

tests/baselines/reference/dissallowSymbolAsWeakType.symbols

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
=== tests/cases/compiler/dissallowSymbolAsWeakType.ts ===
1+
//// [tests/cases/compiler/dissallowSymbolAsWeakType.ts] ////
2+
3+
=== dissallowSymbolAsWeakType.ts ===
24
const s: symbol = Symbol('s');
35
>s : Symbol(s, Decl(dissallowSymbolAsWeakType.ts, 0, 5))
46
>Symbol : Symbol(Symbol, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.symbol.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2019.symbol.d.ts, --, --))

tests/baselines/reference/dissallowSymbolAsWeakType.types

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
=== tests/cases/compiler/dissallowSymbolAsWeakType.ts ===
1+
//// [tests/cases/compiler/dissallowSymbolAsWeakType.ts] ////
2+
3+
=== dissallowSymbolAsWeakType.ts ===
24
const s: symbol = Symbol('s');
35
>s : symbol
46
>Symbol('s') : unique symbol

tests/baselines/reference/typesVersions.ambientModules.trace.json

+12
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,18 @@
762762
"Searching all ancestor node_modules directories for fallback extensions: JavaScript.",
763763
"Directory '/node_modules' does not exist, skipping all lookups in it.",
764764
"======== Module name '@typescript/lib-es2023/array' was not resolved. ========",
765+
"======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========",
766+
"Explicitly specified module resolution kind: 'Node10'.",
767+
"Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.",
768+
"Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.",
769+
"Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.",
770+
"Scoped package detected, looking in 'typescript__lib-es2023/collection'",
771+
"Directory '/node_modules' does not exist, skipping all lookups in it.",
772+
"Scoped package detected, looking in 'typescript__lib-es2023/collection'",
773+
"Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: JavaScript.",
774+
"Searching all ancestor node_modules directories for fallback extensions: JavaScript.",
775+
"Directory '/node_modules' does not exist, skipping all lookups in it.",
776+
"======== Module name '@typescript/lib-es2023/collection' was not resolved. ========",
765777
"======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========",
766778
"Explicitly specified module resolution kind: 'Node10'.",
767779
"Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.",

tests/baselines/reference/typesVersions.multiFile.trace.json

+12
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,18 @@
741741
"Searching all ancestor node_modules directories for fallback extensions: JavaScript.",
742742
"Directory '/node_modules' does not exist, skipping all lookups in it.",
743743
"======== Module name '@typescript/lib-es2023/array' was not resolved. ========",
744+
"======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========",
745+
"Explicitly specified module resolution kind: 'Node10'.",
746+
"Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.",
747+
"Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.",
748+
"Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.",
749+
"Scoped package detected, looking in 'typescript__lib-es2023/collection'",
750+
"Directory '/node_modules' does not exist, skipping all lookups in it.",
751+
"Scoped package detected, looking in 'typescript__lib-es2023/collection'",
752+
"Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: JavaScript.",
753+
"Searching all ancestor node_modules directories for fallback extensions: JavaScript.",
754+
"Directory '/node_modules' does not exist, skipping all lookups in it.",
755+
"======== Module name '@typescript/lib-es2023/collection' was not resolved. ========",
744756
"======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========",
745757
"Explicitly specified module resolution kind: 'Node10'.",
746758
"Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.",

tests/baselines/reference/typesVersionsDeclarationEmit.ambient.trace.json

+12
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,18 @@
762762
"Searching all ancestor node_modules directories for fallback extensions: JavaScript.",
763763
"Directory '/node_modules' does not exist, skipping all lookups in it.",
764764
"======== Module name '@typescript/lib-es2023/array' was not resolved. ========",
765+
"======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========",
766+
"Explicitly specified module resolution kind: 'Node10'.",
767+
"Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.",
768+
"Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.",
769+
"Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.",
770+
"Scoped package detected, looking in 'typescript__lib-es2023/collection'",
771+
"Directory '/node_modules' does not exist, skipping all lookups in it.",
772+
"Scoped package detected, looking in 'typescript__lib-es2023/collection'",
773+
"Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: JavaScript.",
774+
"Searching all ancestor node_modules directories for fallback extensions: JavaScript.",
775+
"Directory '/node_modules' does not exist, skipping all lookups in it.",
776+
"======== Module name '@typescript/lib-es2023/collection' was not resolved. ========",
765777
"======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========",
766778
"Explicitly specified module resolution kind: 'Node10'.",
767779
"Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.",

tests/baselines/reference/typesVersionsDeclarationEmit.multiFile.trace.json

+12
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,18 @@
741741
"Searching all ancestor node_modules directories for fallback extensions: JavaScript.",
742742
"Directory '/node_modules' does not exist, skipping all lookups in it.",
743743
"======== Module name '@typescript/lib-es2023/array' was not resolved. ========",
744+
"======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========",
745+
"Explicitly specified module resolution kind: 'Node10'.",
746+
"Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.",
747+
"Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.",
748+
"Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.",
749+
"Scoped package detected, looking in 'typescript__lib-es2023/collection'",
750+
"Directory '/node_modules' does not exist, skipping all lookups in it.",
751+
"Scoped package detected, looking in 'typescript__lib-es2023/collection'",
752+
"Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: JavaScript.",
753+
"Searching all ancestor node_modules directories for fallback extensions: JavaScript.",
754+
"Directory '/node_modules' does not exist, skipping all lookups in it.",
755+
"======== Module name '@typescript/lib-es2023/collection' was not resolved. ========",
744756
"======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========",
745757
"Explicitly specified module resolution kind: 'Node10'.",
746758
"Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.",

tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToSelf.trace.json

+12
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,18 @@
764764
"Searching all ancestor node_modules directories for fallback extensions: JavaScript.",
765765
"Directory '/node_modules' does not exist, skipping all lookups in it.",
766766
"======== Module name '@typescript/lib-es2023/array' was not resolved. ========",
767+
"======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========",
768+
"Explicitly specified module resolution kind: 'Node10'.",
769+
"Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.",
770+
"Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.",
771+
"Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.",
772+
"Scoped package detected, looking in 'typescript__lib-es2023/collection'",
773+
"Directory '/node_modules' does not exist, skipping all lookups in it.",
774+
"Scoped package detected, looking in 'typescript__lib-es2023/collection'",
775+
"Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: JavaScript.",
776+
"Searching all ancestor node_modules directories for fallback extensions: JavaScript.",
777+
"Directory '/node_modules' does not exist, skipping all lookups in it.",
778+
"======== Module name '@typescript/lib-es2023/collection' was not resolved. ========",
767779
"======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========",
768780
"Explicitly specified module resolution kind: 'Node10'.",
769781
"Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.",

tests/baselines/reference/typesVersionsDeclarationEmit.multiFileBackReferenceToUnmapped.trace.json

+12
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,18 @@
747747
"Searching all ancestor node_modules directories for fallback extensions: JavaScript.",
748748
"Directory '/node_modules' does not exist, skipping all lookups in it.",
749749
"======== Module name '@typescript/lib-es2023/array' was not resolved. ========",
750+
"======== Resolving module '@typescript/lib-es2023/collection' from '/.src/__lib_node_modules_lookup_lib.es2023.collection.d.ts__.ts'. ========",
751+
"Explicitly specified module resolution kind: 'Node10'.",
752+
"Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: TypeScript, Declaration.",
753+
"Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.",
754+
"Directory '/.src/node_modules/@types' does not exist, skipping all lookups in it.",
755+
"Scoped package detected, looking in 'typescript__lib-es2023/collection'",
756+
"Directory '/node_modules' does not exist, skipping all lookups in it.",
757+
"Scoped package detected, looking in 'typescript__lib-es2023/collection'",
758+
"Loading module '@typescript/lib-es2023/collection' from 'node_modules' folder, target file types: JavaScript.",
759+
"Searching all ancestor node_modules directories for fallback extensions: JavaScript.",
760+
"Directory '/node_modules' does not exist, skipping all lookups in it.",
761+
"======== Module name '@typescript/lib-es2023/collection' was not resolved. ========",
750762
"======== Resolving module '@typescript/lib-esnext/intl' from '/.src/__lib_node_modules_lookup_lib.esnext.intl.d.ts__.ts'. ========",
751763
"Explicitly specified module resolution kind: 'Node10'.",
752764
"Loading module '@typescript/lib-esnext/intl' from 'node_modules' folder, target file types: TypeScript, Declaration.",

0 commit comments

Comments
 (0)