Skip to content

Commit 36934f9

Browse files
fix bug from previous commit, zig doesn't look ahead for type inference
1 parent 876b389 commit 36934f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

query.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub fn ParsedQuery(comptime tmp_query: []const u8) type {
5656
// This holds the starting character of the string while
5757
// state is .inside_string so that we know which type of
5858
// string we're exiting from
59-
var string_starting_character = null;
59+
var string_starting_character: ?u8 = null;
6060

6161
var current_bind_marker_type: [256]u8 = undefined;
6262
var current_bind_marker_type_pos = 0;

0 commit comments

Comments
 (0)