authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-09-15 22:08:30 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2023-09-15 22:08:30 -07:00
log680b75544c8501bba5dad564945ac351c2bee9c0
treef413e3d81f1ec8397bfcf9ce755de6249303d31f
parent4990ac0f76fb67422761376b9d1dc35e260a5c2a

un-inline do


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

src/lib.zig+1-1
...@@ -36,7 +36,7 @@ pub fn compileInner(alloc: std.mem.Allocator, writer: anytype, comptime value: a...@@ -36,7 +36,7 @@ pub fn compileInner(alloc: std.mem.Allocator, writer: anytype, comptime value: a
3636
37pub const Writer = std.ArrayList(u8).Writer;37pub const Writer = std.ArrayList(u8).Writer;
3838
39inline fn do(alloc: std.mem.Allocator, writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, comptime opts: DoOptions) anyerror!void {39fn do(alloc: std.mem.Allocator, writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype, comptime opts: DoOptions) anyerror!void {
40 switch (comptime value) {40 switch (comptime value) {
41 .element => |v| {41 .element => |v| {
42 const hastext = comptime for (v.children) |x| {42 const hastext = comptime for (v.children) |x| {