commit b749487f48cad2dd779d7fa6d0afcafc975ba26c (tree) parent 25f3be32db148c2816547c75462285ae8f5e99eb Author: Andrew Kelley <andrew@ziglang.org> Date: Thu, 21 Jul 2022 22:05:46 -0700 add new compile error note to old test case Diffstat:
| M | test/cases/x86_64-macos/assert_function.8.zig | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/test/cases/x86_64-macos/assert_function.8.zig b/test/cases/x86_64-macos/assert_function.8.zig @@ -17,3 +17,4 @@ pub fn assert(ok: bool) void { // error // // :5:21: error: unable to resolve comptime value +// :5:21: note: condition in comptime branch must be comptime known