CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 00:54:22 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/angular/angular.git
etag: W/"7ce04249248d179e3beca083dda27c2d"
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=eXtXoUqivm475tutqXwSFo%2BxtkCZ0QjFAHOxChr8QiUtGwme0WY8gaLMUr%2FTwR4NDBRd7HXEYA0TIOe7G03SDr%2B26ya%2B4B1jLkO%2BDLNg15H%2B8NX0a53VwPWRdugy%2B%2FvRHhvWmAMAo2ACtxN5odYo37JpxkZa9ZAGFMdO6e2mAZXtWLg8%2BJFc0l%2BwkutlQTEjPnx1xxj8kqFbF26GYJuZRSF%2BnMsQjK%2Bx%2B7iqdstT7P2P0cx4pjxFu0XSD73G0zRFlmNYkRYeVnUFBqZm9k6i4Q%3D%3D--R9VZ5wtoqNXE1cg0--N7nqeMfAvUdH5ssjwnXRmA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.875884851.1753318461; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 00:54:21 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 00:54:21 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E0FE:12F48D:11C15E7:156B217:6881843D
fix(compiler-cli): report more accurate diagnostic for invalid import… · angular/angular@aa8ea7a · GitHub
Copy file name to clipboardExpand all lines: packages/compiler-cli/src/ngtsc/annotations/component/src/util.ts
Copy file name to clipboardExpand all lines: packages/compiler-cli/test/ngtsc/ngtsc_spec.ts
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 26.4k
Commit aa8ea7a
fix(compiler-cli): report more accurate diagnostic for invalid import (#60455)
Currently when an incorrect value is in the `imports` array, we highlight the entire array which can be very noisy for large arrays. This comes up semi-regularly (at least for me) when an import is missing.
These changes add some logic that reports a more accurate diagnostic location for the most common case where the `imports` array is static. Non-static arrays will fall back to the current behavior.
PR Close #604551 parent d306e31 commit aa8ea7aCopy full SHA for aa8ea7a
File tree
Expand file treeCollapse file tree
2 files changed
+72
-3
lines changedFilter options
- packages/compiler-cli
- src/ngtsc/annotations/component/src
- test/ngtsc
Expand file treeCollapse file tree
2 files changed
+72
-3
lines changedpackages/compiler-cli/src/ngtsc/annotations/component/src/util.ts
Copy file name to clipboardExpand all lines: packages/compiler-cli/src/ngtsc/annotations/component/src/util.ts+35-3Lines changed: 35 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 |
| |
16 | 20 |
| |
17 | 21 |
| |
18 | 22 |
| |
| 23 | + | |
19 | 24 |
| |
20 | 25 |
| |
21 | 26 |
| |
| |||
96 | 101 |
| |
97 | 102 |
| |
98 | 103 |
| |
99 |
| - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
100 | 107 |
| |
101 | 108 |
| |
102 | 109 |
| |
| |||
132 | 139 |
| |
133 | 140 |
| |
134 | 141 |
| |
135 |
| - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
136 | 168 |
| |
137 | 169 |
| |
138 | 170 |
| |
|
packages/compiler-cli/test/ngtsc/ngtsc_spec.ts
Copy file name to clipboardExpand all lines: packages/compiler-cli/test/ngtsc/ngtsc_spec.ts+37Lines changed: 37 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2282 | 2282 |
| |
2283 | 2283 |
| |
2284 | 2284 |
| |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + | |
| 2320 | + | |
| 2321 | + | |
2285 | 2322 |
| |
2286 | 2323 |
| |
2287 | 2324 |
| |
|
You can’t perform that action at this time.
0 commit comments