| author | |
| committer | |
| log | 049e6025f2961467306e741fcf29c45c28fad6b3 |
| tree | bf41705f1853dde37c3c9eea262d9ef0a90955a8 |
| parent | 6f2408aab847113cb991058fbcd6d8a8296f1465 |
Depending on how #13366 is resolved, this code should arguably have
been rejected with a compile error in the first place.1 files changed, 1 insertions(+), 1 deletions(-)
src/Sema.zig+1-1| ... | ... | @@ -5001,7 +5001,7 @@ fn zirCImport(sema: *Sema, parent_block: *Block, inst: Zir.Inst.Index) CompileEr |
| 5001 | 5001 | var c_import_buf = std.ArrayList(u8).init(sema.gpa); |
| 5002 | 5002 | defer c_import_buf.deinit(); |
| 5003 | 5003 | |
| 5004 | var comptime_reason = .{ .c_import = .{ | |
| 5004 | var comptime_reason: Block.ComptimeReason = .{ .c_import = .{ | |
| 5005 | 5005 | .block = parent_block, |
| 5006 | 5006 | .src = src, |
| 5007 | 5007 | } }; |