feat(compiler-cli): add diagnostic for uninvoked functions in text interpolation#59191
Conversation
...ks/uninvoked_function_in_text_interpolation/uninvoked_function_in_text_interpolation_spec.ts
Outdated
Show resolved
Hide resolved
|
Could you also make sure to check the linter failures, thank you. |
|
Deployed adev-preview for b3607ab to: https://ng-dev-previews-fw--pr-angular-angular-59191-adev-prev-ehyguwsu.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
|
Also, we need to add the entry to |
|
@JeanMeche I think I've addressed all the comments! |
...ks/uninvoked_function_in_text_interpolation/uninvoked_function_in_text_interpolation_spec.ts
Outdated
Show resolved
Hide resolved
|
Whenever you have time, please look at the new changes @JeanMeche! |
JoostK
left a comment
There was a problem hiding this comment.
I suspect these points may have originated in the signal check, but mentioning them here anyway.
...er-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_text_interpolation/index.ts
Outdated
Show resolved
Hide resolved
...er-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_text_interpolation/index.ts
Outdated
Show resolved
Hide resolved
...er-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_text_interpolation/index.ts
Outdated
Show resolved
Hide resolved
|
@JeanMeche @JoostK Changes have been applied and are ready to be blasted with another review! |
|
@alxhub @JeanMeche @JoostK Do you think this is ready for a review? |
...ks/uninvoked_function_in_text_interpolation/uninvoked_function_in_text_interpolation_spec.ts
Outdated
Show resolved
Hide resolved
|
Case you rebase your PR and take the previous comments into account ? Thank you. |
8230854 to
192b848
Compare
b648bc4 to
04791c9
Compare
|
The last fix CL from the previous TGP was submitted. This should be good to go. |
|
TESTED=TGP |
thePunderWoman
left a comment
There was a problem hiding this comment.
reviewed-for: public-api
|
@JeanMeche @thePunderWoman I'd like to propose running a new TGP to make sure there are no regressions. Could you please start a new TGP when you get a chance? |
|
I'll take care of it tomorrow morning ! |
|
TESTED=TGP |
|
This PR was merged into the repository by commit 5abfe4a. The changes were merged into the following branches: main |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
We don't perform this check whenever we have an uninvoked function in a text interpolation.
Issue Number: #59157
What is the new behavior?
Whenever we have an uninvoked function in a text interpolation, a warning is triggered (NG8114).
Does this PR introduce a breaking change?