; Structs and enums are rendered in the run record. ; expect: run ; result: {"variant":"Err","payload":[{"code":404,"fatal":false}]} ; phase: 0 ; spec: docs/spec/07a-air-instructions.md module test.aggregates air 0 lang 0.1 features [] type @Error = struct { code: u16, fatal: bool } type @Result = enum { Ok(u32), Err(@Error) } fn @main() -> @Result effects [] entry: %code = const.u16 404 %fatal = const.bool false %e = struct.make @Error(%code, %fatal) %r = enum.make @Result.Err(%e) ret %r