From 8d8140349fe2ea3197f8eea71cc120a0e8fa08d8 Mon Sep 17 00:00:00 2001 From: Matthew Lugg Date: Mon, 9 Feb 2026 10:39:31 +0000 Subject: [PATCH] simple little no-objection src/Type.zig correction --- src/Type.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Type.zig b/src/Type.zig index 8c67ea975958712554e1711e3e9e409f745e91f5..d7fffdf45a79df551d0ff9581e9de2646e90cc9e 100644 --- a/src/Type.zig +++ b/src/Type.zig @@ -2853,7 +2853,7 @@ pub fn fieldPtrType(ptr_ty: Type, field_index: u32, pt: Zcu.PerThread) Allocator else => parent_align.minStrict(.fromLog2Units(@ctz(field_offset))), }; const field_ptr_align: Alignment = a: { - if (parent_align == .none and + if (ptr_info.flags.alignment == .none and aggregate_ty.explicitFieldAlignment(field_index, zcu) == .none and actual_field_align == field_ty.abiAlignment(zcu)) { -- 2.54.0