Closed as not planned
Description
Zig Version
0.14.0-dev.839+a931bfada
Steps to Reproduce and Observed Behavior
Here's the code for x.zig:
/// Comments
/// Comments
/// Comments
/// Comments
pub const file_index_alloc: c_uint = ~@as(c_uint, 0);
/// IOSQE_BUFFER_SELECT
/// Comments
/// Comments
/// Comments
pub const cqe_buffer_shift = 16;
/// skip updating fd indexes set to this value in the fd table
pub const register_files_skip: c_int = -2;
And y.zig:
/// Comments
/// Comments
pub const Mask = packed struct {
--snip--
/// blocks
blocks: bool = false,
}
Here's the error:
test
└─ install start_start1-void_tests
└─ zig build-exe start_start1-void_tests Debug native 2 errors
x.zig:13:24: error: expected type expression, found 'invalid token'
/// IOSQE_BUFFER_SELECT
^
y.zig:46:26: error: expected type expression, found 'invalid token'
blocks: bool = false,
^
error: the following command failed with 2 compilation errors:
/home/raymond/.zvm/master/zig build-exe -ODebug --dep vortex -Mroot=/home/raymond/projects/x/tests/start/start1-void.zig -Mvortex=/home/raymond/projects/x/src/root.zig --cache-dir /home/raymond/projects/x/.zig-cache --global-cache-dir /home/raymond/.cache/zig --name start_start1-void_tests --zig-lib-dir /home/raymond/.zvm/master/lib/ --listen=-
Expected Behavior
Should have compiled it.