Sema: fix printing of inferred error set of generic fn

Closes #19332
f983adfc10Veikka Tuominen committed on 3/17/2024, 11:33:05 AMparent294f518
4 files changedLine totals unavailable