src/widget.zig:114:5: error: dependency loop detected
pub const Widget = statspatch.StatspatchType(Prototype, WidgetData, &zenolith.widget_impls);
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How does one debug this? I'm mostly looking for just an appraoch to take here. As for what this function does, it's comptime magic beyond comprehension, and explaining it would be way out of the scope of this question.
It seems to boil down to this: Widget ends up being a type that contains a std.ArrayListUnmanaged(*Widget), but this shouldn't be a problem as that's just a pointer.