Skip to content

Commit f03074b

Browse files
committed
baseline
1 parent f34150d commit f03074b

File tree

123 files changed

+1391
-1075
lines changed

Some content is hidden

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

123 files changed

+1391
-1075
lines changed

tests/baselines/reference/api/typescript.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2555,6 +2555,7 @@ declare namespace ts {
25552555
ES2022 = "es2022",
25562556
ES2023 = "es2023",
25572557
ES2024 = "es2024",
2558+
ES2025 = "es2025",
25582559
ESNext = "esnext",
25592560
JSON = "json",
25602561
Latest = "esnext",
@@ -7218,6 +7219,7 @@ declare namespace ts {
72187219
ES2022 = 9,
72197220
ES2023 = 10,
72207221
ES2024 = 11,
7222+
ES2025 = 12,
72217223
ESNext = 99,
72227224
JSON = 100,
72237225
Latest = 99,

tests/baselines/reference/awaitUsingDeclarationsWithIteratorObject.symbols

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
=== awaitUsingDeclarationsWithIteratorObject.ts ===
44
declare const i: Iterator<string, undefined>;
55
>i : Symbol(i, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 0, 13))
6-
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
6+
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
77

88
declare const io: IteratorObject<string, undefined, unknown>;
99
>io : Symbol(io, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 1, 13))
10-
>IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
10+
>IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
1111

1212
declare const g: Generator<string, void>;
1313
>g : Symbol(g, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 2, 13))
1414
>Generator : Symbol(Generator, Decl(lib.es2015.generator.d.ts, --, --))
1515

1616
class MyIterator extends Iterator<string> {
1717
>MyIterator : Symbol(MyIterator, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 2, 41))
18-
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
18+
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
1919

2020
next() { return { done: true, value: undefined }; }
2121
>next : Symbol(MyIterator.next, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 4, 43))
@@ -38,9 +38,9 @@ async function f() {
3838

3939
await using it2 = Iterator.from(i)
4040
>it2 : Symbol(it2, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 12, 15))
41-
>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --))
42-
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
43-
>from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --))
41+
>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --))
42+
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
43+
>from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --))
4444
>i : Symbol(i, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 0, 13))
4545

4646
await using it3 = new MyIterator();
@@ -61,7 +61,7 @@ async function f() {
6161
await using it6 = new Set<string>().keys();
6262
>it6 : Symbol(it6, Decl(awaitUsingDeclarationsWithIteratorObject.ts, 16, 15))
6363
>new Set<string>().keys : Symbol(Set.keys, Decl(lib.es2015.iterable.d.ts, --, --))
64-
>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
64+
>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --))
6565
>keys : Symbol(Set.keys, Decl(lib.es2015.iterable.d.ts, --, --))
6666

6767
// should fail

tests/baselines/reference/builtinIterator.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,4 @@ builtinIterator.ts(73,35): error TS2322: Type 'Generator<string, number, boolean
161161
!!! error TS2322: Type '[undefined]' is not assignable to type '[] | [boolean]'.
162162
!!! error TS2322: Type '[undefined]' is not assignable to type '[boolean]'.
163163
!!! error TS2322: Type 'undefined' is not assignable to type 'boolean'.
164-
!!! related TS6502 lib.esnext.iterator.d.ts:--:--: The expected type comes from the return type of this signature.
164+
!!! related TS6502 lib.es2025.iterator.d.ts:--:--: The expected type comes from the return type of this signature.

tests/baselines/reference/builtinIterator.symbols

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
=== builtinIterator.ts ===
44
const iterator = Iterator.from([0, 1, 2]);
55
>iterator : Symbol(iterator, Decl(builtinIterator.ts, 0, 5))
6-
>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --))
7-
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
8-
>from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --))
6+
>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --))
7+
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
8+
>from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --))
99

1010
const mapped = iterator.map(String);
1111
>mapped : Symbol(mapped, Decl(builtinIterator.ts, 2, 5))
12-
>iterator.map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --))
12+
>iterator.map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --))
1313
>iterator : Symbol(iterator, Decl(builtinIterator.ts, 0, 5))
14-
>map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --))
14+
>map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --))
1515
>String : Symbol(String, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --) ... and 7 more)
1616

1717
const filtered = iterator.filter(x => x > 0);
1818
>filtered : Symbol(filtered, Decl(builtinIterator.ts, 4, 5))
19-
>iterator.filter : Symbol(IteratorObject.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
19+
>iterator.filter : Symbol(IteratorObject.filter, Decl(lib.es2025.iterator.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
2020
>iterator : Symbol(iterator, Decl(builtinIterator.ts, 0, 5))
21-
>filter : Symbol(IteratorObject.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
21+
>filter : Symbol(IteratorObject.filter, Decl(lib.es2025.iterator.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
2222
>x : Symbol(x, Decl(builtinIterator.ts, 4, 33))
2323
>x : Symbol(x, Decl(builtinIterator.ts, 4, 33))
2424

@@ -32,16 +32,16 @@ function isZero(x: number): x is 0 {
3232
}
3333
const zero = iterator.filter(isZero);
3434
>zero : Symbol(zero, Decl(builtinIterator.ts, 9, 5))
35-
>iterator.filter : Symbol(IteratorObject.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
35+
>iterator.filter : Symbol(IteratorObject.filter, Decl(lib.es2025.iterator.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
3636
>iterator : Symbol(iterator, Decl(builtinIterator.ts, 0, 5))
37-
>filter : Symbol(IteratorObject.filter, Decl(lib.esnext.iterator.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
37+
>filter : Symbol(IteratorObject.filter, Decl(lib.es2025.iterator.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
3838
>isZero : Symbol(isZero, Decl(builtinIterator.ts, 4, 45))
3939

4040
const iteratorFromBare = Iterator.from({
4141
>iteratorFromBare : Symbol(iteratorFromBare, Decl(builtinIterator.ts, 11, 5))
42-
>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --))
43-
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
44-
>from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --))
42+
>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --))
43+
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
44+
>from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --))
4545

4646
next() {
4747
>next : Symbol(next, Decl(builtinIterator.ts, 11, 40))
@@ -50,7 +50,7 @@ const iteratorFromBare = Iterator.from({
5050
done: Math.random() < .5,
5151
>done : Symbol(done, Decl(builtinIterator.ts, 13, 12))
5252
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
53-
>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --))
53+
>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
5454
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
5555

5656
value: "a string",
@@ -69,25 +69,25 @@ function* gen() {
6969

7070
const mappedGen = gen().map(x => x === 0 ? "zero" : "other");
7171
>mappedGen : Symbol(mappedGen, Decl(builtinIterator.ts, 25, 5))
72-
>gen().map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --))
72+
>gen().map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --))
7373
>gen : Symbol(gen, Decl(builtinIterator.ts, 18, 3))
74-
>map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --))
74+
>map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --))
7575
>x : Symbol(x, Decl(builtinIterator.ts, 25, 28))
7676
>x : Symbol(x, Decl(builtinIterator.ts, 25, 28))
7777

7878
const mappedValues = [0, 1, 2].values().map(x => x === 0 ? "zero" : "other");
7979
>mappedValues : Symbol(mappedValues, Decl(builtinIterator.ts, 27, 5))
80-
>[0, 1, 2].values().map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --))
80+
>[0, 1, 2].values().map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --))
8181
>[0, 1, 2].values : Symbol(Array.values, Decl(lib.es2015.iterable.d.ts, --, --))
8282
>values : Symbol(Array.values, Decl(lib.es2015.iterable.d.ts, --, --))
83-
>map : Symbol(IteratorObject.map, Decl(lib.esnext.iterator.d.ts, --, --))
83+
>map : Symbol(IteratorObject.map, Decl(lib.es2025.iterator.d.ts, --, --))
8484
>x : Symbol(x, Decl(builtinIterator.ts, 27, 44))
8585
>x : Symbol(x, Decl(builtinIterator.ts, 27, 44))
8686

8787

8888
class GoodIterator extends Iterator<number> {
8989
>GoodIterator : Symbol(GoodIterator, Decl(builtinIterator.ts, 27, 77))
90-
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
90+
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
9191

9292
next() {
9393
>next : Symbol(GoodIterator.next, Decl(builtinIterator.ts, 30, 45))
@@ -101,23 +101,23 @@ class GoodIterator extends Iterator<number> {
101101

102102
// error cases
103103
new Iterator<number>();
104-
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
104+
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
105105

106106
class C extends Iterator<number> {}
107107
>C : Symbol(C, Decl(builtinIterator.ts, 37, 23))
108-
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
108+
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
109109

110110
// it's unfortunate that these are an error
111111
class BadIterator1 extends Iterator<number> {
112112
>BadIterator1 : Symbol(BadIterator1, Decl(builtinIterator.ts, 39, 35))
113-
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
113+
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
114114

115115
next() {
116116
>next : Symbol(BadIterator1.next, Decl(builtinIterator.ts, 42, 45))
117117

118118
if (Math.random() < .5) {
119119
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
120-
>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --))
120+
>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
121121
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
122122

123123
return { done: false, value: 0 } as const;
@@ -136,7 +136,7 @@ class BadIterator1 extends Iterator<number> {
136136

137137
class BadIterator2 extends Iterator<number> {
138138
>BadIterator2 : Symbol(BadIterator2, Decl(builtinIterator.ts, 50, 1))
139-
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
139+
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
140140

141141
next() {
142142
>next : Symbol(BadIterator2.next, Decl(builtinIterator.ts, 52, 45))
@@ -149,14 +149,14 @@ class BadIterator2 extends Iterator<number> {
149149

150150
class BadIterator3 extends Iterator<number> {
151151
>BadIterator3 : Symbol(BadIterator3, Decl(builtinIterator.ts, 56, 1))
152-
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
152+
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
153153

154154
next() {
155155
>next : Symbol(BadIterator3.next, Decl(builtinIterator.ts, 58, 45))
156156

157157
if (Math.random() < .5) {
158158
>Math.random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
159-
>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.float16.d.ts, --, --))
159+
>Math : Symbol(Math, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.float16.d.ts, --, --))
160160
>random : Symbol(Math.random, Decl(lib.es5.d.ts, --, --))
161161

162162
return { done: false, value: 0 };
@@ -177,19 +177,19 @@ declare const g1: Generator<string, number, boolean>;
177177

178178
const iter1 = Iterator.from(g1);
179179
>iter1 : Symbol(iter1, Decl(builtinIterator.ts, 69, 5))
180-
>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --))
181-
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
182-
>from : Symbol(IteratorConstructor.from, Decl(lib.esnext.iterator.d.ts, --, --))
180+
>Iterator.from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --))
181+
>Iterator : Symbol(Iterator, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
182+
>from : Symbol(IteratorConstructor.from, Decl(lib.es2025.iterator.d.ts, --, --))
183183
>g1 : Symbol(g1, Decl(builtinIterator.ts, 68, 13))
184184

185185
declare const iter2: IteratorObject<string>;
186186
>iter2 : Symbol(iter2, Decl(builtinIterator.ts, 71, 13))
187-
>IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.esnext.iterator.d.ts, --, --))
187+
>IteratorObject : Symbol(IteratorObject, Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.esnext.disposable.d.ts, --, --), Decl(lib.es2025.iterator.d.ts, --, --))
188188

189189
const iter3 = iter2.flatMap(() => g1);
190190
>iter3 : Symbol(iter3, Decl(builtinIterator.ts, 72, 5))
191-
>iter2.flatMap : Symbol(IteratorObject.flatMap, Decl(lib.esnext.iterator.d.ts, --, --))
191+
>iter2.flatMap : Symbol(IteratorObject.flatMap, Decl(lib.es2025.iterator.d.ts, --, --))
192192
>iter2 : Symbol(iter2, Decl(builtinIterator.ts, 71, 13))
193-
>flatMap : Symbol(IteratorObject.flatMap, Decl(lib.esnext.iterator.d.ts, --, --))
193+
>flatMap : Symbol(IteratorObject.flatMap, Decl(lib.es2025.iterator.d.ts, --, --))
194194
>g1 : Symbol(g1, Decl(builtinIterator.ts, 68, 13))
195195

tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=false).symbols

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ declare const map: Map<string, number>;
1010

1111
declare const set: Set<number>;
1212
>set : Symbol(set, Decl(builtinIteratorReturn.ts, 2, 13))
13-
>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
13+
>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --))
1414

1515
const i0 = array[Symbol.iterator]();
1616
>i0 : Symbol(i0, Decl(builtinIteratorReturn.ts, 4, 5))

tests/baselines/reference/builtinIteratorReturn(strictbuiltiniteratorreturn=true).symbols

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ declare const map: Map<string, number>;
1010

1111
declare const set: Set<number>;
1212
>set : Symbol(set, Decl(builtinIteratorReturn.ts, 2, 13))
13-
>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
13+
>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --))
1414

1515
const i0 = array[Symbol.iterator]();
1616
>i0 : Symbol(i0, Decl(builtinIteratorReturn.ts, 4, 5))

tests/baselines/reference/bundlerDirectoryModule(module=nodenext,moduleresolution=nodenext).trace.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,5 +195,11 @@
195195
"File '/.ts/package.json' does not exist according to earlier cached lookups.",
196196
"File '/package.json' does not exist according to earlier cached lookups.",
197197
"File '/.ts/package.json' does not exist according to earlier cached lookups.",
198+
"File '/package.json' does not exist according to earlier cached lookups.",
199+
"File '/.ts/package.json' does not exist according to earlier cached lookups.",
200+
"File '/package.json' does not exist according to earlier cached lookups.",
201+
"File '/.ts/package.json' does not exist according to earlier cached lookups.",
202+
"File '/package.json' does not exist according to earlier cached lookups.",
203+
"File '/.ts/package.json' does not exist according to earlier cached lookups.",
198204
"File '/package.json' does not exist according to earlier cached lookups."
199205
]

tests/baselines/reference/classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.symbols

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export abstract class BaseObservable<T, TChange = void> extends ConvenientObserv
6969

7070
protected readonly observers = new Set<IObserver>();
7171
>observers : Symbol(BaseObservable.observers, Decl(classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.ts, 18, 98))
72-
>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.esnext.collection.d.ts, --, --))
72+
>Set : Symbol(Set, Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.collection.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2025.collection.d.ts, --, --))
7373
>IObserver : Symbol(IObserver, Decl(classExtendingAbstractClassWithMemberCalledTheSameAsItsOwnTypeParam.ts, 0, 0))
7474
}
7575

0 commit comments

Comments
 (0)