You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A tuple holding Unit crashes codegen (LLVM getTypeSizeInBits on void) #1994
with check says ok; with build/run dies with SIGTRAP (rc 133) in llvm::DataLayout::getTypeSizeInBits — a void LLVM type reaches a size query. Expected: 5, 1. Spec §1/with-abi.md §1 give Unit zero size in a layout, so TypeLayout places (Unit, i32) as 4 bytes with both elements at 0; codegen's tuple body (#1964tuple_type_from_layout) has no member for a zero-size element, so whatever fix lands must give the element a zero-size representation, not the i32 value carrier.
Activity
A tuple's Unit element is a zero-size member; a Unit field projects l…
A tuple's Unit element is a zero-size member; a Unit field projects l…
Tuples and multi-field enum payloads at TypeLayout's alignment (#1964)…
ehartford commentedon Oct 3, 2026
Fixed on main by da08b14 (#1999, battery green on 857b5a4).