angular-cn/packages/compiler-cli/test/compliance
JoostK 19dfadb717 fix(ivy): include context name for template functions for `ng-content` (#30025)
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
2019-04-22 17:28:36 -07:00
..
BUILD.bazel build(bazel): back out of @bazel/jasmine 0.27.7 with shard count (#29444) 2019-03-21 09:59:13 -07:00
README.md build: use bazel version from node modules (#26691) 2018-10-30 16:19:13 -04:00
mock_compile.ts test(ivy): compiler compliance tests should support ? (#25435) 2018-08-10 17:12:18 -07:00
mock_compiler_spec.ts refactor(ivy): use ɵɵ instead of Δ for now (#29850) 2019-04-11 16:27:56 -07:00
r3_compiler_compliance_spec.ts feat(ivy): generate ɵɵproperty instructions (#29946) 2019-04-19 16:07:52 -07:00
r3_view_compiler_binding_spec.ts feat(ivy): generate ɵɵpropertyInterpolateX instructions (#30008) 2019-04-22 17:10:36 -07:00
r3_view_compiler_di_spec.ts refactor(ivy): use ɵɵ instead of Δ for now (#29850) 2019-04-11 16:27:56 -07:00
r3_view_compiler_directives_spec.ts feat(ivy): generate ɵɵproperty instructions (#29946) 2019-04-19 16:07:52 -07:00
r3_view_compiler_i18n_spec.ts feat(ivy): generate ɵɵproperty instructions (#29946) 2019-04-19 16:07:52 -07:00
r3_view_compiler_input_outputs_spec.ts refactor(ivy): use ɵɵ instead of Δ for now (#29850) 2019-04-11 16:27:56 -07:00
r3_view_compiler_listener_spec.ts feat(ivy): generate ɵɵproperty instructions (#29946) 2019-04-19 16:07:52 -07:00
r3_view_compiler_providers_spec.ts refactor(ivy): use ɵɵ instead of Δ for now (#29850) 2019-04-11 16:27:56 -07:00
r3_view_compiler_spec.ts feat(ivy): generate ɵɵproperty instructions (#29946) 2019-04-19 16:07:52 -07:00
r3_view_compiler_styling_spec.ts fix(ivy): avoid generating instructions for empty style and class bindings (#30024) 2019-04-22 11:16:58 -07:00
r3_view_compiler_template_spec.ts fix(ivy): include context name for template functions for `ng-content` (#30025) 2019-04-22 17:28:36 -07:00

README.md

Tests in this directory should be run with:

yarn bazel test --define=compile=aot  packages/compiler-cli/test/compliance:compliance