Zig Version
0.11.0-dev.6417+0bb178bbb
Steps to Reproduce and Observed Output
const std = @import("std");
const debug = std.debug;
pub fn main() void {
var a: isize = blk: {
continue :blk -10;
};
debug.print("a: {}\n", .{a});
}
main.zig:6:27: error: binary operator `-` has whitespace on one side, but not the other.
continue :blk -10;
^
Expected Output
main.zig:6:27: error: expected ';' after statement
continue :blk -10;
^~
NOTE: this is the error returned when using a positive number.
Zig Version
0.11.0-dev.6417+0bb178bbb
Steps to Reproduce and Observed Output
Expected Output
NOTE: this is the error returned when using a positive number.