19dfadb717
Previously, a template's context name would only be included in an embedded template function if the element that the template was declared on has a tag name. This is generally true for elements, except for `ng-content` that does not have a tag name. By omitting the context name the compiler could introduce duplicate template function names, which would fail at runtime. This commit fixes the behavior by always including the context name in the template function's name, regardless of tag name. Resolves FW-1272 PR Close #30025 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
README.md | ||
mock_compile.ts | ||
mock_compiler_spec.ts | ||
r3_compiler_compliance_spec.ts | ||
r3_view_compiler_binding_spec.ts | ||
r3_view_compiler_di_spec.ts | ||
r3_view_compiler_directives_spec.ts | ||
r3_view_compiler_i18n_spec.ts | ||
r3_view_compiler_input_outputs_spec.ts | ||
r3_view_compiler_listener_spec.ts | ||
r3_view_compiler_providers_spec.ts | ||
r3_view_compiler_spec.ts | ||
r3_view_compiler_styling_spec.ts | ||
r3_view_compiler_template_spec.ts |
README.md
Tests in this directory should be run with:
yarn bazel test --define=compile=aot packages/compiler-cli/test/compliance:compliance