From ed38b0d66aeb49f84c9dbcd5cc82a5d018622739 Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Fri, 1 Jan 2021 22:56:52 +0100 Subject: fix compile error --- sqlite.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlite.zig') diff --git a/sqlite.zig b/sqlite.zig index 3291fbd..7e6018e 100644 --- a/sqlite.zig +++ b/sqlite.zig @@ -733,7 +733,7 @@ pub fn Statement(comptime opts: StatementOptions, comptime query: ParsedQuery) t _ = c.sqlite3_bind_text(self.stmt, column, data.ptr, @intCast(c_int, data.len), null); }, - else => @compileError("cannot bind field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), + else => @compileError("cannot bind field " ++ struct_field.name ++ " of type array of " ++ @typeName(arr.child)), } }, else => @compileError("cannot bind field " ++ struct_field.name ++ " of type " ++ @typeName(struct_field.field_type)), -- cgit v1.2.3