Skip to content

Commit 00f426d

Browse files
committed
[AST] Explicitly specify number of extra bits type variable type is using
1 parent ba3972f commit 00f426d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/Types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ class alignas(1 << TypeAlignInBits) TypeBase {
336336
NumProtocols : 16
337337
);
338338

339-
SWIFT_INLINE_BITFIELD_FULL(TypeVariableType, TypeBase, 64-NumTypeBaseBits,
339+
SWIFT_INLINE_BITFIELD_FULL(TypeVariableType, TypeBase, 20+4+20,
340340
/// The unique number assigned to this type variable.
341341
ID : 20,
342342

0 commit comments

Comments
 (0)