mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
8b2785b597
`parseHostBindings` throws plain `Error`s for malformed host bindings (e.g. a property binding with a non-static value, as can happen while editing in the language service). These were uncaught during directive analysis, crashing the compiler and the Angular Language Service. Wrap the call and surface the error as a `FatalDiagnosticError` so it becomes a diagnostic and analysis can complete normally. Fixes #69106