Sema: fix requiresComptime infinite recursion

When asking a struct or union whether the type requires comptime, it may
need to ask itself recursively, for example because of a field which is
a pointer to itself. This commit adds a field to each to keep track of
when computing the "requires comptime" value and returns `false` if the
check is already ongoing.
4fccc95b01Andrew Kelley committed on 1/20/2022, 11:17:16 PMparente86ff71
2 files changedLine totals unavailable