CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 14:29:57 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/microsoft/TypeScript.git
etag: W/"a2e62edd2974c40de529365fcc57efae"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=23e%2BzqRSequ8d1gvzRNoX7ArmldIEHppT9%2FtGGZsG8WF4Jf6XZHqOePsj9d2fafUr0hcMg88sI4GKoHx2nFBgi0F3rnZWXaTBtN4yGwcg4b3tyagcgoa5ELk7f%2BW04HZ3djCXyKyVgZ3xOgb6ISG7DDRl9afkdyzXqUGEXukSbe8%2FtRpCSDlQA%2FCbHNS9%2BeoOYqR9mo5EU81t5FacJdr1GB4r5yWMWY221e8jorOOuAYgeMmHC8McbZXr%2FxbHoHAZ9u%2FceywHQmSpEgku3ZO7A%3D%3D--3BPts81EIC10rJrn--SuEPCK0HzbT%2BCESx234NUA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2070286307.1752935396; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 14:29:56 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 14:29:56 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9C02:9AEBD:597260:701F65:687BABE4
Issue unawaited promise error on symbol-less expressions (#44491) · microsoft/TypeScript@54b913c · GitHub
Copy file name to clipboardExpand all lines: tests/baselines/reference/truthinessPromiseCoercion.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/truthinessPromiseCoercion.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/truthinessPromiseCoercion.symbols
Copy file name to clipboardExpand all lines: tests/baselines/reference/truthinessPromiseCoercion.types
Copy file name to clipboardExpand all lines: tests/cases/compiler/truthinessPromiseCoercion.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit 54b913c
authored
File tree
Expand file treeCollapse file tree
6 files changed
+126
-25
lines changedFilter options
- src/compiler
- tests
- baselines/reference
- cases/compiler
Expand file treeCollapse file tree
6 files changed
+126
-25
lines changed+8-9Lines changed: 8 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35870 | 35870 |
| |
35871 | 35871 |
| |
35872 | 35872 |
| |
| 35873 | + | |
| 35874 | + | |
| 35875 | + | |
| 35876 | + | |
35873 | 35877 |
| |
35874 | 35878 |
| |
35875 | 35879 |
| |
35876 | 35880 |
| |
35877 |
| - | |
35878 |
| - | |
35879 |
| - | |
35880 |
| - | |
35881 |
| - | |
35882 | 35881 |
| |
35883 | 35882 |
| |
35884 | 35883 |
| |
| |||
35891 | 35890 |
| |
35892 | 35891 |
| |
35893 | 35892 |
| |
35894 |
| - | |
35895 |
| - | |
| 35893 | + | |
| 35894 | + | |
35896 | 35895 |
| |
35897 | 35896 |
| |
35898 | 35897 |
| |
35899 |
| - | |
35900 |
| - | |
| 35898 | + | |
| 35899 | + | |
35901 | 35900 |
| |
35902 | 35901 |
| |
35903 | 35902 |
| |
|
tests/baselines/reference/truthinessPromiseCoercion.errors.txt
Copy file name to clipboardExpand all lines: tests/baselines/reference/truthinessPromiseCoercion.errors.txt+26-7Lines changed: 26 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 |
| |
5 | 7 |
| |
6 |
| - | |
| 8 | + | |
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
| 12 | + | |
10 | 13 |
| |
11 | 14 |
| |
12 | 15 |
| |
13 | 16 |
| |
14 | 17 |
| |
15 |
| - | |
| 18 | + | |
16 | 19 |
| |
17 | 20 |
| |
18 | 21 |
| |
19 | 22 |
| |
20 | 23 |
| |
21 | 24 |
| |
22 |
| - | |
| 25 | + | |
23 | 26 |
| |
24 | 27 |
| |
25 | 28 |
| |
| |||
43 | 46 |
| |
44 | 47 |
| |
45 | 48 |
| |
46 |
| - | |
| 49 | + | |
47 | 50 |
| |
48 | 51 |
| |
49 | 52 |
| |
50 | 53 |
| |
51 | 54 |
| |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
52 | 71 |
|
tests/baselines/reference/truthinessPromiseCoercion.js
Copy file name to clipboardExpand all lines: tests/baselines/reference/truthinessPromiseCoercion.js+20Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
5 | 6 |
| |
6 | 7 |
| |
7 | 8 |
| |
| |||
35 | 36 |
| |
36 | 37 |
| |
37 | 38 |
| |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
38 | 49 |
| |
39 | 50 |
| |
40 | 51 |
| |
| |||
67 | 78 |
| |
68 | 79 |
| |
69 | 80 |
| |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + |
tests/baselines/reference/truthinessPromiseCoercion.symbols
Copy file name to clipboardExpand all lines: tests/baselines/reference/truthinessPromiseCoercion.symbols+33-9Lines changed: 33 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 |
| |
16 |
| - | |
| 20 | + | |
17 | 21 |
| |
18 | 22 |
| |
19 | 23 |
| |
| |||
27 | 31 |
| |
28 | 32 |
| |
29 | 33 |
| |
30 |
| - | |
| 34 | + | |
31 | 35 |
| |
32 | 36 |
| |
33 |
| - | |
| 37 | + | |
34 | 38 |
| |
35 | 39 |
| |
36 | 40 |
| |
37 | 41 |
| |
38 | 42 |
| |
39 |
| - | |
| 43 | + | |
40 | 44 |
| |
41 | 45 |
| |
42 |
| - | |
| 46 | + | |
43 | 47 |
| |
44 | 48 |
| |
45 | 49 |
| |
46 | 50 |
| |
47 | 51 |
| |
48 |
| - | |
| 52 | + | |
49 | 53 |
| |
50 | 54 |
| |
51 |
| - | |
| 55 | + | |
52 | 56 |
| |
53 | 57 |
| |
54 | 58 |
| |
55 | 59 |
| |
56 | 60 |
| |
57 |
| - | |
| 61 | + | |
58 | 62 |
| |
59 | 63 |
| |
60 | 64 |
| |
| |||
87 | 91 |
| |
88 | 92 |
| |
89 | 93 |
| |
90 |
| - | |
| 94 | + | |
91 | 95 |
| |
92 | 96 |
| |
93 | 97 |
| |
| |||
113 | 117 |
| |
114 | 118 |
| |
115 | 119 |
| |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + |
tests/baselines/reference/truthinessPromiseCoercion.types
Copy file name to clipboardExpand all lines: tests/baselines/reference/truthinessPromiseCoercion.types+28Lines changed: 28 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 |
| |
14 | 17 |
| |
15 | 18 |
| |
| |||
132 | 135 |
| |
133 | 136 |
| |
134 | 137 |
| |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + |
tests/cases/compiler/truthinessPromiseCoercion.ts
Copy file name to clipboardExpand all lines: tests/cases/compiler/truthinessPromiseCoercion.ts+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
| 7 | + | |
7 | 8 |
| |
8 | 9 |
| |
9 | 10 |
| |
| |||
37 | 38 |
| |
38 | 39 |
| |
39 | 40 |
| |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + |
You can’t perform that action at this time.
0 commit comments