angular/packages/compiler/src
Kristiyan Kostadinov bae94b82fd fix(compiler-cli): handle const enums used inside HMR data (#59815)
When we generate an HMR replacement function, we determine which locals from the file are used and we pass them by reference. This works fine in most cases, but breaks down for const enums which don't have a runtime representation.

These changes work around the issue by passing in all the values as an object literal.

Fixes #59800.

PR Close #59815
2025-02-03 13:58:31 -08:00
..
expression_parser refactor(compiler): produce AST for template literals (#59230) 2025-01-21 12:04:52 -08: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): clean up tagged templates in output AST (#59230) 2025-01-21 12:04:52 -08:00
render3 fix(compiler-cli): handle const enums used inside HMR data (#59815) 2025-02-03 13:58:31 -08:00
schema refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
template/pipeline feat(compiler): support untagged template literals in expressions (#59230) 2025-01-21 12:04:53 -08:00
template_parser docs: set syntax highlighting to the remaining Markdown code examples blocks (#59088) 2025-01-14 15:14:02 -05: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 refactor(compiler): clean up tagged templates in output AST (#59230) 2025-01-21 12:04:52 -08: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 docs: set syntax highlighting to the remaining Markdown code examples blocks (#59088) 2025-01-14 15:14:02 -05: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): handle :host-context with comma-separated child selector (#59276) 2025-01-21 09:11:16 -08: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