angular/packages/compiler/test/render3
Kristiyan Kostadinov cbe6e1ffcf refactor(compiler): allow some invalid expressions in two-way bindings that previously worked by accident (#54154)
In one of the earlier commits, the logic that appends `=$event` before parsing two-way bindings was removed and some validation was added to prevent unassignable expressions from being used. This ended up being problematic, because previously the parser was incorrectly allowing some invalid expressions which users came to depend on. For example, it transformed `[(value)]="a && a.b"` to `a && (a.b = $event)`.

These changes add some special cases for the common breakages that came up during the TGP.

PR Close #54154
2024-02-01 14:39:32 +00:00
..
util refactor(compiler): introduce unknown block node (#52047) 2023-10-05 13:10:05 -07:00
view refactor(compiler-cli): expose ng-content selectors and preserveWhitespaces during template type checking (#53190) 2023-11-28 11:18:43 +01:00
BUILD.bazel build: ensure bootstrap transitive runfiles are made available (#48521) 2022-12-19 19:50:41 +00:00
r3_ast_absolute_span_spec.ts fix(compiler): compute correct offsets when interpolations have HTML entities (#44811) 2022-03-08 10:23:07 -08:00
r3_ast_spans_spec.ts fix(compiler): Update type check block to fix control flow source mappings (#53980) 2024-01-24 18:37:58 -05:00
r3_template_transform_spec.ts refactor(compiler): allow some invalid expressions in two-way bindings that previously worked by accident (#54154) 2024-02-01 14:39:32 +00:00
README.md feat(compiler): implement "enableIvy" compiler option (#21427) 2018-01-18 18:22:44 -06:00
style_parser_spec.ts fix(compiler): do not unquote CSS values (#49460) 2023-03-28 11:35:38 -07:00

Tests in this directory are excluded from running in the browser and only run in node.