mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
21b085d221
Updates the Ivy AST to allow for `@switch` blocks to capture nested blocks that are not `@case` and `@default`. These blocks will be used for autocompletion in the language service. These changes also update the logic for `@switch` and `@if` blocks so that they produce an AST node even if there are errors. The errors will still be surfaced to users, but producing AST nodes allows us to recover parts of the expression later if necessary. PR Close #52136
Tests in this directory are excluded from running in the browser and only run in node.