angular/packages/compiler-cli/test/compliance
Pete Bacon Darwin 00f8d6ac64 fix(ivy): i18n - ensure that escaped chars are handled in localized strings (#34065)
When creating synthesized tagged template literals, one must provide both
the "cooked" text and the "raw" (unparsed) text. Previously there were no
good APIs for creating the AST nodes with raw text for such literals.
Recently the APIs were improved to support this, and they do an extra
check to ensure that the raw text parses to be equal to the cooked text.

It turns out there is a bug in this check -
see https://github.com/microsoft/TypeScript/issues/35374.

This commit works around the bug by synthesizing a "head" node and morphing
it by changing its `kind` into the required node type.

// FW-1747

PR Close #34065
2019-11-27 10:36:36 -08:00
..
BUILD.bazel refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
mock_compile.ts fix(ivy): i18n - ensure that escaped chars are handled in localized strings (#34065) 2019-11-27 10:36:36 -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(ivy): support for #id bootstrap selectors (#33784) 2019-11-15 10:42:53 -08:00
r3_view_compiler_binding_spec.ts perf(ivy): move local references into consts array (#33129) 2019-11-04 16:30:53 +00:00
r3_view_compiler_di_spec.ts refactor(compiler-cli): avoid superfluous parenthesis around statements (#33514) 2019-11-13 13:49:31 -08:00
r3_view_compiler_directives_spec.ts refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
r3_view_compiler_i18n_spec.ts fix(ivy): i18n - ensure that escaped chars are handled in localized strings (#34065) 2019-11-27 10:36:36 -08: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): move local references into consts array (#33129) 2019-11-04 16:30:53 +00: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 fix(ivy): constant object literals shared across element and component instances (#33705) 2019-11-13 13:36:41 -08:00
r3_view_compiler_template_spec.ts perf(ivy): move local references into consts array (#33129) 2019-11-04 16:30:53 +00: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:41 -05:00

Tests in this directory should be run with:

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