mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
A couple tests were already passing, and just needed to be enabled. This includes tests pertaining to: * ng-template * host binding styling slots * and host animation bindings * some literal tests (which were missing some $foo$ escaped names) We add pipeline-specific versions of the following tests, and enable them: * A local refs test. The consts for the element attributes and the consts for local reference are collected in the reverse order, but the emitted template is functionally the same. * A safe accesstest. Consider the expression `$any(val)?.foo`. `TemplateDefinitionBuilder` extracts a temporary variable: `($tmp_0_0$ = $ctx$.val) == null ? null : $tmp_0_0$.foo`. It presumably does this because it considers the `$any(...)` to be a function call. However, this is not a real call, so Template Pipeline safely ignores it and declines to generate a temporary. * Another local refs test. AttributeMarker.Template is emitted at the end of the const array (instead of the middle) PR Close #51950 |
||
|---|---|---|
| .. | ||
| integrationtest | ||
| linker | ||
| ngcc | ||
| private | ||
| src | ||
| test | ||
| BUILD.bazel | ||
| esbuild.config.js | ||
| index.ts | ||
| package.json | ||
| tsconfig-build.json | ||
| tsconfig.json | ||