| ... | @@ -1051,9 +1051,7 @@ pub const Type = struct { | ... | @@ -1051,9 +1051,7 @@ pub const Type = struct { |
| 1051 | if (union_obj.hasTag(ip)) { | 1051 | if (union_obj.hasTag(ip)) { |
| 1052 | return abiAlignmentAdvanced(union_obj.enum_tag_ty.toType(), mod, strat); | 1052 | return abiAlignmentAdvanced(union_obj.enum_tag_ty.toType(), mod, strat); |
| 1053 | } else { | 1053 | } else { |
| 1054 | return .{ | 1054 | return .{ .scalar = .@"1" }; |
| 1055 | .scalar = Alignment.fromByteUnits(@intFromBool(union_obj.flagsPtr(ip).layout == .Extern)), | | |
| 1056 | }; | | |
| 1057 | } | 1055 | } |
| 1058 | } | 1056 | } |
| 1059 | | 1057 | |