angular/packages/compiler/test/render3/view
P4 6755f5354c fix(compiler): return full spans for Comment nodes (#50855)
Change sourceSpan for Comment nodes to cover the whole comment
instead of just the opening token.

The primary motivation for this is the interaction between ESLint and
`@angular-eslint`. ESLint can detect unused `eslint-disable` directives
in comments and automatically remove them when running with `--fix`.
This is based on ranges computed from AST spans, and as a result
does not work inside Angular templates - right now all comments
claim to be 4 characters long so only the opening `<!--` is removed.

PR Close #50855
2023-07-28 14:39:18 -07:00
..
binding_spec.ts fix(compiler): incorrectly matching directives on attribute bindings (#49713) 2023-04-11 12:40:57 -07:00
i18n_spec.ts fix(compiler): compute correct offsets when interpolations have HTML entities (#44811) 2022-03-08 10:23:07 -08:00
parse_template_options_spec.ts fix(compiler): return full spans for Comment nodes (#50855) 2023-07-28 14:39:18 -07:00
util.ts refactor(compiler): add compiler flag to enable deferred blocks for testing (#51079) 2023-07-18 17:05:29 +00:00