authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-04-11 13:32:06 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-05-29 11:25:33 -07:00
log12577f3b30c6a120f3a3737ff7d402241ba04f5a
treeb35c28f4b04f481a8e6810f35e326c240200d543
parentd23c43a9090331ac8114f10c596748e44f115557

inline this into respective compile or compileInner call


1 files changed, 1 insertions(+), 1 deletions(-)

src/lib.zig+1-1
......@@ -41,7 +41,7 @@ pub fn compileInner(alloc: std.mem.Allocator, writer: anytype, comptime value: a
4141
4242pub const Writer = std.ArrayList(u8).Writer;
4343
44fn do(alloc: std.mem.Allocator, writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, comptime opts: DoOptions) anyerror!void {
44inline fn do(alloc: std.mem.Allocator, writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, comptime opts: DoOptions) anyerror!void {
4545 switch (comptime value) {
4646 .element => |v| {
4747 const hastext = comptime for (v.children) |x| {