angular/packages/compiler/src
Kristiyan Kostadinov ceadd28ea1 fix(compiler): allow $any in two-way bindings (#59362)
Some time ago we narrowed down the expressions we support in two-way bindings, because in most cases any apart from property reads doesn't make sense. This ended up preventing users from using `$any` in the binding since it's considered a function call.

These changes update the validation logic to allow `$any`.

Fixes #51165.

PR Close #59362
2025-01-06 17:25:25 +00:00
..
expression_parser fix(compiler): handle typeof expressions in serializer (#58217) 2024-10-16 09:47:10 +00:00
i18n refactor(compiler): remove preservePlaceholders (#58176) 2024-10-16 06:42:37 +00:00
ml_parser docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
output refactor(compiler): remove circular dep in the output ast (#59083) 2024-12-05 16:01:14 -08:00
render3 refactor(compiler): incorrect spelling in for loop parse error message (#59289) 2025-01-06 16:18:15 +00:00
schema refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
template/pipeline refactor(compiler): generate debug location instruction (#58982) 2024-12-05 16:09:55 -08:00
template_parser fix(compiler): allow $any in two-way bindings (#59362) 2025-01-06 17:25:25 +00:00
assertions.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
chars.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
compiler.ts fix(compiler-cli): account for multiple generated namespace imports in HMR (#58924) 2024-11-28 10:00:56 +01:00
compiler_facade_interface.ts docs: set syntax highlighting of code examples MD code blocks (#59026) 2024-12-04 17:30:28 +01:00
config.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
constant_pool.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
core.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
injectable_compiler_2.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
jit_compiler_facade.ts refactor(compiler): capture template path (#58982) 2024-12-05 16:09:55 -08:00
parse_util.ts fix(compiler-cli): more accurate diagnostics for host binding parser errors (#58870) 2024-11-25 15:25:48 +00:00
resource_loader.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
selector.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
shadow_css.ts fix(compiler): fix multiline selectors (#58681) 2024-11-15 11:30:27 +01:00
style_url_resolver.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
util.ts refactor(compiler): dynamic default for the partial compiler. (#58169) 2024-10-15 16:05:14 +00:00
version.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00