Sema: fix UB in error reporting

And add test coverage for the compile error in question.
5322459a0bmlugg committed on 1/14/2025, 9:17:46 PMparent27274d4
2 files changedLine totals unavailable