Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exercises(queen-attack): example: fix for Zig 0.12.0-dev (#368)
Resolve this error, which occured with the latest Zig master release: $ zig version 0.12.0-dev.2341+92211135f $ bin/run-tests queen-attack Running tests for queen-attack... queen_attack.zig:28:18: error: root struct of file 'math' has no member named 'absInt' (math.absInt(self.row - other.row) catch unreachable == ~~~~^~~~~~~ /opt/zig/lib/std/math.zig:1:1: note: struct declared here const builtin = @import("builtin"); ^~~~~ referenced by: test.cannot attack if falling diagonals are only the same when reflected across the longest falling diagonal: test_queen_attack.zig:87:34 remaining reference traces hidden; use '-freference-trace' to see all reference traces
- Loading branch information