Torah Temimah cites Yoma 74a.
It is different there, for Scripture says “if he does not tell,” and this one is not a person of telling at all.
The Gemara uses the verse’s language of “yagid” to exclude from the shevu’as ha-eidus framework anyone who is not a bar haggadah — one who is ineligible to give formal testimony in the first place.
Category B — Textual / lexical / linguistic method
Method — The phrase “אִם לֹא יַגִּיד” presupposes that the person is legally fit to give testimony. Someone who is not a “bar haggadah” at all does not enter the verse’s liability structure.
Textual trigger — “אִם לֹא יַגִּיד,” interpreted as “וְהַאי לָאו בַּר הַגָּדָה הוּא כְּלָל.”