You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(compiler-cli): fix performance of "interpolated signal not invoked" check (#64410)
This fixes a performance regression from #63754, which is almost a revert of the
prior performance fix in #57291; the latter was provided as quick fix to address
the severe performance overhead this extended diagnostic used to have, with #57337
as follow-up change to address the false negatives that were introduced in #57291.
That follow-up never landed, though, so this commit is re-applying the changes
from #57337 to fix the performance regression.
Fixes#64403
PR Close#64410
Copy file name to clipboardExpand all lines: packages/compiler-cli/src/ngtsc/typecheck/extended/test/checks/interpolated_signal_not_invoked/interpolated_signal_not_invoked_spec.ts
+30-14Lines changed: 30 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -634,29 +634,39 @@ runInEachFileSystem(() => {
634
634
{
635
635
fileName,
636
636
templates: {
637
-
'TestCmp': `<child /> <div [id]="title"></div>`,
637
+
'TestCmp': `
638
+
<!-- The below "myInput" binding should be ignored, as it corresponds with TestDir -->
639
+
<div dir [myInput]="dirSignal"></div>
640
+
641
+
<!-- The below "myInput" binding should be reported, as it does not correspond with TestDir -->
642
+
<div [myInput]="divSignal"></div>
643
+
644
+
<!-- The below "myInput" binding applies to the "div" element so it should be reported -->
0 commit comments