Sometimes std.testing.expectEqual surprises me with the error that a type cannot be comptime inferred, when I'm using just a bunch of fields selections on structs. I understand why this method errors when it cannot infer the type at comptime, but I don't understand why the compiler cannot infer this type.
For example I was doing this:
try std.testing.expectEqual(0, hittable.bbox.x.min);
Hittable, bbox, x, all have a static type defined for their property, and the type of min is f64.