angular/packages/compiler-cli
Kristiyan Kostadinov 29eded6457 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 #60455
2025-03-19 19:06:38 +01:00
..
integrationtest Revert "refactor(core): remove unused injection props (#59209)" (#59386) 2025-01-06 21:35:58 +00:00
linker feat(compiler): support exponentiation operator in templates (#59894) 2025-02-25 11:03:37 -05:00
private build: properly compile tests in core with Angular compiler (#60268) 2025-03-07 11:00:47 -08:00
src fix(compiler-cli): report more accurate diagnostic for invalid import (#60455) 2025-03-19 19:06:38 +01:00
test fix(compiler-cli): report more accurate diagnostic for invalid import (#60455) 2025-03-19 19:06:38 +01:00
BUILD.bazel refactor(compiler): remove ngcc binary (#60185) 2025-03-03 22:05:22 +00:00
esbuild.config.js refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
index.ts refactor(compiler-cli): expose diagnostic error code (#59353) 2025-01-06 16:21:26 +00:00
package.json build: update babel dependencies to v7.26.10 (#60398) 2025-03-17 10:29:43 +01:00
tsconfig-build.json refactor(compiler-cli): dismantle View Engine implementation of ngc (#44269) 2021-12-01 10:36:30 -08:00
tsconfig.json build: update tsconfigs to use ES2020 as target and module (#43431) 2021-10-01 18:28:42 +00:00