diff options
| author | 2021-08-31 17:13:17 +0200 | |
|---|---|---|
| committer | 2021-08-31 17:13:17 +0200 | |
| commit | 3de99fb2c0fccbba736a5007ef62b0b27581cd08 (patch) | |
| tree | 7cdb88b7e867b3b4b3c7e1ce5e896e9db1ce9730 /sqlite.zig | |
| parent | Merge branch 'fix-latest-zig' (diff) | |
| parent | fix the compile error from readArray (diff) | |
| download | zig-sqlite-3de99fb2c0fccbba736a5007ef62b0b27581cd08.tar.gz zig-sqlite-3de99fb2c0fccbba736a5007ef62b0b27581cd08.tar.xz zig-sqlite-3de99fb2c0fccbba736a5007ef62b0b27581cd08.zip | |
Merge branch 'fix-read-array'
Diffstat (limited to '')
| -rw-r--r-- | sqlite.zig | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -737,10 +737,10 @@ pub fn Iterator(comptime Type: type) type { | |||
| 737 | ret[size] = s; | 737 | ret[size] = s; |
| 738 | } | 738 | } |
| 739 | }, | 739 | }, |
| 740 | else => @compileError("cannot populate field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), | 740 | else => @compileError("cannot read into array of " ++ @typeName(arr.child)), |
| 741 | } | 741 | } |
| 742 | }, | 742 | }, |
| 743 | else => @compileError("cannot populate field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), | 743 | else => @compileError("cannot read into type " ++ @typeName(ret)), |
| 744 | } | 744 | } |
| 745 | return ret; | 745 | return ret; |
| 746 | } | 746 | } |