angular/packages/compiler-cli/test
Paul Gschwendtner 8e237a0161 fix(compiler-cli): properly catch fatal diagnostics in type checking (#54309)
An identical addition to: 760b1f3d0b.

This commit expands the `try/catch`-es:

- to properly NOT throw and just convert the diagnostic.
- to be in place for all top-level instances. Notably, this logic cannot
  reside in the template type checker directly as otherwise we would
  risk multiple duplicate diagnostics.

PR Close #54309
2024-02-07 16:39:20 +00:00
..
compliance refactor(compiler-cli): add tests for model inputs (#54252) 2024-02-07 16:36:08 +00:00
ngtsc fix(compiler-cli): properly catch fatal diagnostics in type checking (#54309) 2024-02-07 16:39:20 +00:00
BUILD.bazel refactor(compiler-cli): add jit transform for model inputs (#54252) 2024-02-07 16:36:03 +00:00
downlevel_decorators_transform_spec.ts refactor(compiler-cli): add transform to support signal input in JIT (#53808) 2024-01-10 12:21:05 +00:00
extract_i18n_spec.ts build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
initializer_api_transforms_spec.ts refactor(core): address PR feedback (#54252) 2024-02-07 16:36:12 +00:00
mocks.ts build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
perform_compile_spec.ts build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
perform_watch_spec.ts perf(compiler-cli): minimize filesystem calls when generating shims (#47682) 2022-10-07 09:10:34 -07:00
signal_queries_metadata_transform_spec.ts refactor(compiler-cli): add JIT transform for signal-based queries (#54257) 2024-02-06 16:04:10 +00:00
test_support.ts refactor: fix a number of typos throughout the codebase (#52249) 2023-10-25 16:51:24 -07:00
typescript_support_spec.ts fix(compiler-cli): handle pre-release versions when checking version (#44109) 2021-11-09 20:54:45 +00:00
version_helpers_spec.ts refactor(compiler-cli): move version number helpers out of diagnostics subfolder (#44269) 2021-12-01 10:36:30 -08:00