mirror of
https://github.com/ziglang/zig.git
synced 2026-01-05 04:53:17 +00:00
parent
99826a2ba8
commit
44b9a1d031
@ -1167,7 +1167,7 @@ fn transRecordDecl(c: *Context, scope: *Scope, record_decl: *const clang.RecordD
|
||||
}
|
||||
|
||||
if (!c.zig_is_stage1 and is_packed) {
|
||||
return failDecl(c, record_loc, bare_name, "cannot translate packed record union", .{});
|
||||
return failDecl(c, record_loc, name, "cannot translate packed record union", .{});
|
||||
}
|
||||
|
||||
const record_payload = try c.arena.create(ast.Payload.Record);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user