angular/packages
Kristiyan Kostadinov cdebf751e4 fix(compiler-cli): used before declared diagnostic not firing for control flow blocks (#56843)
When we process `@if` and `@for` blocks, we create a scope around their expressions in order to encapsulate the aliases to them. The problem is that this doesn't represent the actual structure since the expression is part of the outer scope. This surfaces by not raising the "used before declared" diagnostic for `@let` declarations.

These changes resolve the issue by processing the expression as a part of the parent scope.

Fixes #56842.

PR Close #56843
2024-07-05 13:02:58 +02:00
..
animations refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
bazel refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
benchpress refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
common perf(http): execute fetch outside of Angular zone (#56820) 2024-07-04 12:10:35 +02:00
compiler fix(compiler): allow more characters in let declaration name (#56764) 2024-07-01 18:12:53 +00:00
compiler-cli fix(compiler-cli): used before declared diagnostic not firing for control flow blocks (#56843) 2024-07-05 13:02:58 +02:00
core fix(core): establish proper defer injector hierarchy for components attached to ApplicationRef (#56763) 2024-07-03 14:08:44 +00:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
examples refactor: migrate docs, examples, private, service worker and upgrade to prettier formatting (#54163) 2024-01-30 20:08:40 +00:00
forms refactor(forms): Update status, touched, and pristine to use private setter (#56573) 2024-06-26 08:47:39 -07:00
language-service feat(core): add support for let syntax (#56715) 2024-06-26 12:37:02 -07:00
localize build: update babel dependencies to v7.24.7 (#56373) 2024-06-12 13:11:12 -07:00
misc/angular-in-memory-web-api build: bump in-memory-web-api to v18 (#56018) 2024-05-23 12:00:29 +02:00
platform-browser refactor(core): Add global event delegation provider (#56247) 2024-06-27 14:24:47 +00:00
platform-browser-dynamic refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
platform-server feat(core): add support for let syntax (#56715) 2024-06-26 12:37:02 -07:00
private/testing refactor(docs-infra): remove reliance on aio example macro (#56496) 2024-06-18 12:25:59 -07:00
router fix(router): routes should not get stale providers (#56798) 2024-07-02 17:10:52 +00:00
service-worker refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
upgrade refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
zone.js fix(zone.js): allow enabling default beforeunload handling (#55875) 2024-06-12 13:06:21 -07:00
BUILD.bazel refactor(docs-infra): complete removal of aio directory (#56496) 2024-06-18 12:26:00 -07:00
circular-deps-test.conf.js ci: complete migration to prettier formatting (#55580) 2024-04-29 14:00:16 -07:00
empty.ts
goog.d.ts
license-banner.txt build: update licence date. (#55129) 2024-04-08 11:31:12 -07:00
README.md
system.d.ts
tsconfig-build.json build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
tsconfig-legacy-saucelabs.json feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
tsconfig-test.json
tsconfig-tsec-base.json refactor(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04:00
tsconfig.json refactor(router): Update integration tests to cover navigation and history API (#53799) 2024-01-30 15:04:02 +00:00
tsec-exemption.json fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
types.d.ts build: update to jasmine 4.0 (#45558) 2022-04-11 16:25:28 +00:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT