angular-docs-cn/packages/compiler-cli/test/compliance
Andrew Kushnir 79659ee5aa fix(compiler): support directive inputs with interpolations on `<ng-template>`s (#35984)
Prior to this commit, Ivy compiler didn't handle directive inputs with interpolations located on `<ng-template>` elements (e.g. `<ng-template dir="{{ field }}">`). That was the case for regular inputs as well as inputs that should be processed via i18n subsystem (e.g. `<ng-template i18n-dir dir="Hello {{ name }}">`). This commit adds support for such expressions for explicit `<ng-template>`s as well as a number of tests to confirm the behavior.

Fixes #35752.

PR Close #35984
2020-03-16 10:51:18 -07:00
..
BUILD.bazel test: handle bootstrap templated_args in jasmine_node_test defaults.bzl (#34736) 2020-01-15 14:58:07 -05:00
README.md build: migrate references and scripts that set to build with ivy via compile=aot to use config=ivy (#33983) 2019-11-26 16:38:40 -05:00
mock_compile.ts refactor(compiler): i18n - render legacy i18n message ids (#34135) 2019-12-03 10:15:53 -08:00
mock_compiler_spec.ts test(compiler-cli): compliance tests not always reporting test failure (#30597) 2019-05-22 16:22:52 -07:00
r3_compiler_compliance_spec.ts fix(core): remove side effects from `ɵɵNgOnChangesFeature()` (#35769) 2020-03-03 08:50:03 -08:00
r3_view_compiler_binding_spec.ts perf(ivy): remove unused event argument in listener instructions (#35097) 2020-02-20 15:22:13 -08:00
r3_view_compiler_di_spec.ts fix(ivy): handle overloaded constructors in ngtsc (#34590) 2020-01-14 15:17:09 -08:00
r3_view_compiler_directives_spec.ts perf(ivy): remove unused event argument in listener instructions (#35097) 2020-02-20 15:22:13 -08:00
r3_view_compiler_i18n_spec.ts fix(compiler): support directive inputs with interpolations on `<ng-template>`s (#35984) 2020-03-16 10:51:18 -07:00
r3_view_compiler_input_outputs_spec.ts refactor(ivy): remove ngBaseDef (#33264) 2019-10-25 13:11:34 -07:00
r3_view_compiler_listener_spec.ts perf(ivy): remove unused event argument in listener instructions (#35097) 2020-02-20 15:22:13 -08:00
r3_view_compiler_providers_spec.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
r3_view_compiler_spec.ts perf(ivy): chain multiple property instructions (#31078) 2019-06-19 15:42:37 -07:00
r3_view_compiler_styling_spec.ts perf(ivy): remove unused event argument in listener instructions (#35097) 2020-02-20 15:22:13 -08:00
r3_view_compiler_template_spec.ts fix(compiler): support directive inputs with interpolations on `<ng-template>`s (#35984) 2020-03-16 10:51:18 -07:00

README.md

Tests in this directory should be run with:

yarn bazel test --config=ivy  packages/compiler-cli/test/compliance:compliance