mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
stage2: Add explicit type qualifier to workaround #13366
Depending on how #13366 is resolved, this code should arguably have been rejected with a compile error in the first place.
This commit is contained in:
parent
6f2408aab8
commit
049e6025f2
1 changed files with 1 additions and 1 deletions
|
|
@ -5001,7 +5001,7 @@ fn zirCImport(sema: *Sema, parent_block: *Block, inst: Zir.Inst.Index) CompileEr
|
|||
var c_import_buf = std.ArrayList(u8).init(sema.gpa);
|
||||
defer c_import_buf.deinit();
|
||||
|
||||
var comptime_reason = .{ .c_import = .{
|
||||
var comptime_reason: Block.ComptimeReason = .{ .c_import = .{
|
||||
.block = parent_block,
|
||||
.src = src,
|
||||
} };
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue