Commit 95731f0
authored
No errors on apparent type of bigint or symbol, even for recent targets (#49104)
* Remove bigint from Object.freeze in es5.d.ts
`BigInt` isn't resolved whenever `lib < es2020`, but it's not an error
when `target < es2020`. I have a few ideas for improving this situation
but for the RC I'm going to remove `bigint` from Object.freeze's
signature.
* Update other baselines
* No errors for missing apparent type of bigint,symbol for any target
* Update test text1 parent 528f708 commit 95731f0
File tree
15 files changed
+66
-41
lines changed- src/compiler
- tests
- baselines/reference
- cases
- compiler
- conformance/es2020
15 files changed
+66
-41
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12298 | 12298 | | |
12299 | 12299 | | |
12300 | 12300 | | |
12301 | | - | |
| 12301 | + | |
12302 | 12302 | | |
12303 | | - | |
| 12303 | + | |
12304 | 12304 | | |
12305 | 12305 | | |
12306 | 12306 | | |
| |||
14026 | 14026 | | |
14027 | 14027 | | |
14028 | 14028 | | |
14029 | | - | |
14030 | | - | |
| 14029 | + | |
| 14030 | + | |
14031 | 14031 | | |
14032 | 14032 | | |
14033 | 14033 | | |
| |||
14109 | 14109 | | |
14110 | 14110 | | |
14111 | 14111 | | |
14112 | | - | |
14113 | | - | |
| 14112 | + | |
| 14113 | + | |
14114 | 14114 | | |
14115 | 14115 | | |
14116 | 14116 | | |
| |||
18553 | 18553 | | |
18554 | 18554 | | |
18555 | 18555 | | |
18556 | | - | |
| 18556 | + | |
18557 | 18557 | | |
18558 | 18558 | | |
18559 | 18559 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments