This function now has to allocate anyway to resolve references, so we
may as well just build the error bundle and check its length.
Also remove some unnecessary calls of this function for efficiency.
f0374fe3f0mlugg committed on 8/17/2024, 10:50:10 PM· committed by Jacob Youngparent9e6318a