authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-13 23:06:02 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-13 23:06:02 -07:00
logdfe3e182e320f2d6e73a6f4f77ae6517bf755450
treeb8d7bf62a739ec10d6f1c082583c7200e2347f69
parent8e154277a37b31d312596f6108f123eb597846da

make unsupported type error more friendly


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

src/lib.zig+1-1
...@@ -70,7 +70,7 @@ fn do(writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype...@@ -70,7 +70,7 @@ fn do(writer: anytype, comptime value: astgen.Value, data: anytype, ctx: anytype
70 }70 }
71 return;71 return;
72 }72 }
73 @compileError("pek: compile: unsupported type: " ++ @typeName(TO));73 @compileError("pek: print: unsupported type: " ++ @typeName(TO));
74 },74 },
75 .block => |v| {75 .block => |v| {
76 const body = astgen.Value{ .body = v.body };76 const body = astgen.Value{ .body = v.body };