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
fix: Fix struct literal SSA translation and type conversion
- Add Type::Struct to HirType::Struct conversion in SSA translator
- Fix struct literal translation to use Alloca + InsertValue for field init
- This enables struct field access via ExtractValue/InsertValue with GEP
Direct struct literal field access now works:
return Point{ .x = 42, .y = 10 }.x; // returns 42
Struct variable field access still needs type inference fix in zpeg runtime.
0 commit comments