mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-04 00:32:40 +03:00
7b44e8986f
Because this syntax is not heavily used, and the migration can be done with a simple text substitution, I do not believe a `zig fmt` fixup is necessary for this change. Resolves: https://github.com/ziglang/zig/issues/15213
8 lines
116 B
Zig
8 lines
116 B
Zig
comptime {
|
|
_ = void{};
|
|
}
|
|
|
|
// error
|
|
//
|
|
// :2:13: error: type 'void' does not support array initialization syntax
|