angular/packages/compiler-cli/test/ngtsc
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
..
doc_extraction refactor(compiler): escape decorators in API JsDoc extraction (#52481) 2023-11-02 11:03:08 -07:00
authoring_outputs_spec.ts test: add ngtsc compiler test for output() (#54217) 2024-02-05 15:08:34 +00:00
authoring_queries_spec.ts refactor(compiler-cli): restrict read option values for signal-based queries (#54257) 2024-02-06 16:04:10 +00:00
authoring_spec.ts refactor(compiler-cli): fix regression in two-way bindings to inputs with different getter/setter types (#54252) 2024-02-07 16:36:13 +00:00
BUILD.bazel build: remove Windows CI check (#52140) 2023-10-10 14:07:03 -07:00
component_indexing_spec.ts refactor(compiler-cli): update to use new file-system interfaces (#40281) 2021-01-08 09:34:44 -08:00
env.ts feat(compiler-cli): make it configurable to generate alias reexports (#53937) 2024-01-22 14:20:26 +01:00
extended_template_diagnostics_spec.ts refactor(compiler-cli): remove leftover _extendedTemplateDiagnostics flag (#44920) 2022-02-01 18:24:10 +00:00
host_directives_spec.ts fix(compiler-cli): libraries compiled with v16.1+ breaking with Angular framework v16.0.x (#50714) 2023-06-14 16:27:59 +02:00
imports_spec.ts ci: migrate windows job to GHA (#51010) 2023-07-17 14:51:36 +00:00
incremental_error_spec.ts perf(compiler-cli): detect semantic changes and their effect on an incremental rebuild (#40947) 2021-03-08 08:41:19 -08:00
incremental_semantic_changes_spec.ts feat(compiler): add support for compile-time required inputs (#49468) 2023-03-20 13:10:30 +01:00
incremental_spec.ts perf(compiler-cli): optimize NgModule emit for standalone components (#49837) 2023-04-17 14:51:58 +00:00
incremental_typecheck_spec.ts refactor(compiler-cli): capture signal inputs in semantic graph for directives (#53521) 2023-12-13 15:44:00 -08:00
local_compilation_spec.ts fix(compiler-cli): show specific error for unresolved @Directive.exportAs in local compilation mode (#54230) 2024-02-06 21:33:29 +00:00
ls_typecheck_helpers_spec.ts fix(language-service): generate forwardRef for same file imports (#48898) 2023-02-02 13:40:17 -08:00
monorepo_spec.ts test(compiler-cli): move testing utils to separate package (#39594) 2020-11-17 11:59:56 -08:00
ngtsc_spec.ts fix(compiler-cli): do not error due to multiple components named equally (#54273) 2024-02-06 17:33:23 +00:00
scope_spec.ts feat(compiler-cli): standalone types imported into NgModule scopes (#44973) 2022-03-29 13:06:26 -07:00
sourcemap_utils.ts test: update source-map tests to account for source-map breaking change (#46888) 2022-07-19 09:40:54 -07:00
standalone_spec.ts perf(compiler): further reduce bundle size using arrow functions (#52010) 2023-10-04 07:25:54 -07:00
template_mapping_spec.ts refactor(compiler): update two-way listener emit in definition builder (#54154) 2024-02-01 14:39:32 +00:00
template_typecheck_spec.ts fix(compiler-cli): properly catch fatal diagnostics in type checking (#54309) 2024-02-07 16:39:20 +00:00
util.ts refactor(compiler): Add a new helper method getPrimaryAngularDecorator. (#47180) 2022-08-22 10:39:42 -07:00
xi18n_spec.ts test(compiler): fix deprecation warning (#45285) 2022-03-07 11:36:47 -08:00