Sema: fix segfault during resolveInferredErrorSet

There was a simple missing check of adding an inferred error set to
itself, in which case we should not try to mutate the hash map while
iterating over it.
b6133931d0Andrew Kelley committed on 3/31/2022, 7:25:48 PMparentcf4aad4
1 file changedLine totals unavailable