Skip to content

fix(compiler-cli): only consider used pipes for inline type-check req…#46807

Closed
JoostK wants to merge 1 commit intoangular:mainfrom
JoostK:ngtsc/ttc/used-pipes
Closed

fix(compiler-cli): only consider used pipes for inline type-check req…#46807
JoostK wants to merge 1 commit intoangular:mainfrom
JoostK:ngtsc/ttc/used-pipes

Conversation

@JoostK
Copy link
Member

@JoostK JoostK commented Jul 12, 2022

…uirement

After a bugfix in #46096, the compiler is now better capable of detecting pipes
which require an inline type constructor. However, there is an issue in how all
pipes are considered when verifying the inline type-ctor requirement: it should
only check actually used pipes.

Fixes #46747

…uirement

After a bugfix in angular#46096, the compiler is now better capable of detecting pipes
which require an inline type constructor. However, there is an issue in how all
pipes are considered when verifying the inline type-ctor requirement: it should
only check actually used pipes.

Fixes angular#46747
@JoostK JoostK added target: patch This PR is targeted for the next patch release area: compiler Issues related to `ngc`, Angular's template compiler compiler: template type-checking labels Jul 12, 2022
@ngbot ngbot bot modified the milestone: Backlog Jul 12, 2022
@JoostK JoostK marked this pull request as ready for review July 12, 2022 19:00
@pullapprove pullapprove bot requested a review from alxhub July 12, 2022 19:00
@JoostK JoostK requested a review from atscott July 12, 2022 19:01
@JoostK JoostK added area: language-service Issues related to Angular's VS Code language service action: review The PR is still awaiting reviews from at least one requested reviewer labels Jul 12, 2022
@JoostK JoostK added action: merge The PR is ready for merge by the caretaker action: presubmit The PR is in need of a google3 presubmit and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jul 12, 2022
@jessicajaniuk jessicajaniuk removed the request for review from alxhub July 12, 2022 21:08
@jessicajaniuk
Copy link
Contributor

This PR was merged into the repository by commit 93d17ee.

jessicajaniuk pushed a commit that referenced this pull request Jul 12, 2022
…uirement (#46807)

After a bugfix in #46096, the compiler is now better capable of detecting pipes
which require an inline type constructor. However, there is an issue in how all
pipes are considered when verifying the inline type-ctor requirement: it should
only check actually used pipes.

Fixes #46747

PR Close #46807
crapStone pushed a commit to Calciumdibromid/CaBr2 that referenced this pull request Jul 18, 2022
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@angular/animations](https://github.com/angular/angular) | dependencies | patch | [`14.0.5` -> `14.0.6`](https://renovatebot.com/diffs/npm/@angular%2fanimations/14.0.5/14.0.6) |
| [@angular/common](https://github.com/angular/angular) | dependencies | patch | [`14.0.5` -> `14.0.6`](https://renovatebot.com/diffs/npm/@angular%2fcommon/14.0.5/14.0.6) |
| [@angular/compiler](https://github.com/angular/angular) | dependencies | patch | [`14.0.5` -> `14.0.6`](https://renovatebot.com/diffs/npm/@angular%2fcompiler/14.0.5/14.0.6) |
| [@angular/compiler-cli](https://github.com/angular/angular) | devDependencies | patch | [`14.0.5` -> `14.0.6`](https://renovatebot.com/diffs/npm/@angular%2fcompiler-cli/14.0.5/14.0.6) |
| [@angular/core](https://github.com/angular/angular) | dependencies | patch | [`14.0.5` -> `14.0.6`](https://renovatebot.com/diffs/npm/@angular%2fcore/14.0.5/14.0.6) |
| [@angular/forms](https://github.com/angular/angular) | dependencies | patch | [`14.0.5` -> `14.0.6`](https://renovatebot.com/diffs/npm/@angular%2fforms/14.0.5/14.0.6) |
| [@angular/platform-browser](https://github.com/angular/angular) | dependencies | patch | [`14.0.5` -> `14.0.6`](https://renovatebot.com/diffs/npm/@angular%2fplatform-browser/14.0.5/14.0.6) |
| [@angular/platform-browser-dynamic](https://github.com/angular/angular) | dependencies | patch | [`14.0.5` -> `14.0.6`](https://renovatebot.com/diffs/npm/@angular%2fplatform-browser-dynamic/14.0.5/14.0.6) |

---

### Release Notes

<details>
<summary>angular/angular</summary>

### [`v14.0.6`](https://github.com/angular/angular/blob/HEAD/CHANGELOG.md#&#8203;1406-2022-07-13)

[Compare Source](angular/angular@14.0.5...14.0.6)

##### compiler-cli

| Commit | Type | Description |
| -- | -- | -- |
| [99697dae66](angular/angular@99697da) | fix | only consider used pipes for inline type-check requirement ([#&#8203;46807](angular/angular#46807)) |

##### forms

| Commit | Type | Description |
| -- | -- | -- |
| [4f469cbef3](angular/angular@4f469cb) | fix | expose ControlConfig in public API ([#&#8203;46594](angular/angular#46594)) |
| [e8c8b695f2](angular/angular@e8c8b69) | fix | Move all remaining errors in Forms to use RuntimeErrorCode. ([#&#8203;46654](angular/angular#46654)) |

##### localize

| Commit | Type | Description |
| -- | -- | -- |
| [14863acb1a](angular/angular@14863ac) | fix | add `--project` option to `ng-add` schematic ([#&#8203;46664](angular/angular#46664)) |

#### Special Thanks

Alan Agius, Andrew Scott, Bob Watson, Dylan Hunn, George Kalpakas, Ivaylo Kirov, Jessica Janiuk, JoostK, Joshua VanAllen, Lukas Matta, Marcin Wosinek, Nicolas Molina Monroy, Paul Gschwendtner, SoulsMark, Uday Sony, dario-piotrowicz, markostanimirovic and zhysky

<!-- CHANGELOG SPLIT MARKER -->

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMTEuMSIsInVwZGF0ZWRJblZlciI6IjMyLjExMS4xIn0=-->

Co-authored-by: cabr2-bot <cabr2.help@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1459
Reviewed-by: Epsilon_02 <epsilon_02@noreply.codeberg.org>
Co-authored-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
Co-committed-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker action: presubmit The PR is in need of a google3 presubmit area: compiler Issues related to `ngc`, Angular's template compiler area: language-service Issues related to Angular's VS Code language service compiler: template type-checking target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Language Service: This component requires inline template type-checking, which is not supported by the current environment.(-998900)

3 participants