Zcu: cache output of `resolveReferences` between calls

This not only simplifies the error bundling logic, but also improves
efficiency by allowing the result to be cached between, for instance,
multiple calls to `totalErrorCount`.
c6842b58d4mlugg committed on 10/16/2024, 3:30:36 PMparenta7dd34b
3 files changedLine totals unavailable