From 0b702832c2a1eb47976a7b02b1ef4c05f2df6f6d Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Tue, 31 Aug 2021 16:36:05 +0200 Subject: fix the compile error from readArray --- sqlite.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sqlite.zig') diff --git a/sqlite.zig b/sqlite.zig index 6f8705b..d32b402 100644 --- a/sqlite.zig +++ b/sqlite.zig @@ -737,10 +737,10 @@ pub fn Iterator(comptime Type: type) type { ret[size] = s; } }, - else => @compileError("cannot populate field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), + else => @compileError("cannot read into array of " ++ @typeName(arr.child)), } }, - else => @compileError("cannot populate field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), + else => @compileError("cannot read into type " ++ @typeName(ret)), } return ret; } -- cgit v1.2.3