Hello
So I am hitting this error:
src/tag_table.zig:634:41: error: evaluation exceeded 1000 backwards branches
Putting this in main doesn’t remove the error nor change the 1000 number in the error
@setEvalBranchQuota(std.math.maxInt(u32));
I can’t figure out what’s even being run in comptime or why is it hitting it, and not sure how to debug it.
The error is being hit in the middle of a 1600 item list (generated).
pub const OPEN_TYPE_LANGUAGES: []const LangTag = &.{
.{ .language = "aa", .tag = .from_bytes("AFR ") }, // Afar
.{ .language = "aae", .tag = .from_bytes("SQI ") }, // Arbëreshë Albanian -> Albanian
// goes on ..
}
This is from_bytes
pub fn from_bytes(bytes: *const [4]u8) Tag {
return .{ .inner = std.mem.readInt(u32, bytes, .big) };
}