#Unable to evaluate comptime expression
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
The error returned in main.zig at
move.move_list[1]{
//
};
move_list was defined like this pub var move_list: [256]Move = undefined; where Move is a packed struct.
I don't understand what's going wrong here at all, would be very thankful if someone can explain this error as well. 🙏
are you trying to assign the fields in move_list[1]?
yes
thanks, it's working now