Sema: introduce a mechanism in Value to resolve types

This commit adds a new optional argument to several Value methods which
provides the ability to resolve types if it comes to it. This prevents
having duplicated logic inside both Sema and Value.

With this commit, the "struct contains slice of itself" test is passing
by exploiting the new lazy_align Value Tag.
60d8c4739dAndrew Kelley committed on 3/22/2022, 10:45:59 PMparent593130c
5 files changedLine totals unavailable