Sema: fix issues passing an invalid type to a generic method

Closes #16601
a91a8df679Jacob Young committed on 8/5/2023, 6:21:50 PM· committed by Andrew Kelleyparentfc6e575
2 files changedLine totals unavailable