AstGen: improve ergonomics of `Scope`

Adds `Scope.Unwrapped`, a simple union of pointers to already-casted scopes
with `Scope.Tag` as its tag enum. This pairs very nicely with labeled switch
and gets rid of almost every `scope.cast(...).?`, improving developer QOL :)
d840bb5118Justus Klausecker committed on 1/11/2026, 11:37:16 AM· committed by Matthew Luggparente0108de
1 file changedLine totals unavailable