mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-26 06:34:20 +08:00
A function value whose result is a union of records, assigned to a slot that returns one record type, lifts each record arm into the slot's record. The lift declares a scratch local, which went into the function that requested the adapter, so calling the adapted function failed IR validation. The adapter body now lowers in its own function context and the adapter declares those locals.