| author | |
| committer | |
| log | 8d8140349fe2ea3197f8eea71cc120a0e8fa08d8 |
| tree | 43817a4cc27b45629d261e55867f9f4b040367bd |
| parent | 5865abf7f5ea2d4500cb8387252d9efee26ecae1 |
| signature |
1 files changed, 1 insertions(+), 1 deletions(-)
src/Type.zig+1-1| ... | ... | @@ -2853,7 +2853,7 @@ pub fn fieldPtrType(ptr_ty: Type, field_index: u32, pt: Zcu.PerThread) Allocator |
| 2853 | 2853 | else => parent_align.minStrict(.fromLog2Units(@ctz(field_offset))), |
| 2854 | 2854 | }; |
| 2855 | 2855 | const field_ptr_align: Alignment = a: { |
| 2856 | if (parent_align == .none and | |
| 2856 | if (ptr_info.flags.alignment == .none and | |
| 2857 | 2857 | aggregate_ty.explicitFieldAlignment(field_index, zcu) == .none and |
| 2858 | 2858 | actual_field_align == field_ty.abiAlignment(zcu)) |
| 2859 | 2859 | { |