| author | |
| committer | |
| log | 44b9a1d031cb72cd64909b3a7bd0c65b2e16815b |
| tree | 61a658c5d896b9599fb9458cfc9c73a8e6f74cf6 |
| parent | 99826a2ba89ccd80caaa4eeb47c59a71ddfe76b6 |
Closes #127371 files changed, 1 insertions(+), 1 deletions(-)
src/translate_c.zig+1-1| ... | ... | @@ -1167,7 +1167,7 @@ fn transRecordDecl(c: *Context, scope: *Scope, record_decl: *const clang.RecordD |
| 1167 | 1167 | } |
| 1168 | 1168 | |
| 1169 | 1169 | if (!c.zig_is_stage1 and is_packed) { |
| 1170 | return failDecl(c, record_loc, bare_name, "cannot translate packed record union", .{}); | |
| 1170 | return failDecl(c, record_loc, name, "cannot translate packed record union", .{}); | |
| 1171 | 1171 | } |
| 1172 | 1172 | |
| 1173 | 1173 | const record_payload = try c.arena.create(ast.Payload.Record); |