Fixed in commit 31cfd6d311 of 2022-11-27
Fix xref interaction with which-func (bug#59575)