stage2: fix coercion of error set to error union

When returning an error set or an error union from a function which has
an inferred error set, it populates the error names in addition to the
set of functions. This can have false negatives, meaning that after
checking the map of an unresolved error set, one must do full error set
resolution before emitting a compile error.
bea447a637Andrew Kelley committed on 10/18/2021, 10:45:11 PMparent75c8c44
2 files changedLine totals unavailable