angular/packages/compiler-cli/test/compliance/test_cases
Pete Bacon Darwin feba4d2719 fix(compiler): include leading whitespace in source-spans of i18n messages (#43132)
Previously, the way templates were tokenized meant that we lost information
about the location of interpolations if the template contained encoded HTML
entities. This meant that the mapping back to the source interpolated strings
could be offset incorrectly.

Also, the source-span assigned to an i18n message did not include leading
whitespace. This confused the output source-mappings so that the first text
nodes of the message stopped at the first non-whitespace character.

This commit makes use of the previous refactorings, where more fine grain
information was provided in text tokens, to enable the parser to identify
the location of the interpolations in the original source more accurately.

Fixes #41034

PR Close #43132
2021-09-16 18:15:51 +00:00
..
r3_compiler_compliance feat(compiler-cli): inline resources when generating class metadata calls (#43178) 2021-08-19 11:27:15 -07:00
r3_view_compiler Revert "test: update compiler-cli compliance goldens due to TS 4.3 emit format regression (#42022)" (#42600) 2021-06-21 16:42:48 +00:00
r3_view_compiler_bindings Revert "test: update compiler-cli compliance goldens due to TS 4.3 emit format regression (#42022)" (#42600) 2021-06-21 16:42:48 +00:00
r3_view_compiler_di/di Revert "test: update compiler-cli compliance goldens due to TS 4.3 emit format regression (#42022)" (#42600) 2021-06-21 16:42:48 +00:00
r3_view_compiler_directives/matching Revert "test: update compiler-cli compliance goldens due to TS 4.3 emit format regression (#42022)" (#42600) 2021-06-21 16:42:48 +00:00
r3_view_compiler_i18n fix(compiler): include leading whitespace in source-spans of i18n messages (#43132) 2021-09-16 18:15:51 +00:00
r3_view_compiler_input_outputs refactor(compiler-cli): change how partial-linkers are matched to declaration versions (#41578) 2021-04-14 11:00:40 -07:00
r3_view_compiler_listener fix(compiler): incorrect context object being referenced from listener instructions inside embedded views (#42755) 2021-07-12 11:58:18 -07:00
r3_view_compiler_providers refactor(compiler-cli): change how partial-linkers are matched to declaration versions (#41578) 2021-04-14 11:00:40 -07:00
r3_view_compiler_styling Revert "test: update compiler-cli compliance goldens due to TS 4.3 emit format regression (#42022)" (#42600) 2021-06-21 16:42:48 +00:00
r3_view_compiler_template feat(compiler): add support for shorthand property declarations in templates (#42421) 2021-06-21 23:40:47 +00:00
source_mapping fix(compiler): include leading whitespace in source-spans of i18n messages (#43132) 2021-09-16 18:15:51 +00:00
BUILD.bazel test(compiler-cli): generate golden files for partial compilation (#39617) 2020-11-13 11:25:56 -08:00
list_golden_update_rules.ts refactor(compiler-cli): use semver range checking for partial versions (#39847) 2020-12-04 10:26:17 -08:00
test_case_schema.json test(compiler-cli): improve compliance test compile mode filtering (#39939) 2020-12-07 16:21:04 -08:00