Poking this just to say that for a particularly large and slowly growing enum in our codebase we've recently started hitting this issue where __derived_enum_equals(_:_:) consumes essentially the entire stack allocated to a cooperative thread pool thread. This means that when we compare two of these enum values in any test, we are at severe risk of exhausting the stack even if there's very little else going on. Would be very nice to have a solution for this in debug builds!
4 Likes