From f4fa32a63219917e8fb26f43cbd2d97b17e0aeee Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 8 Feb 2022 23:02:13 -0700 Subject: Sema: fix `@typeInfo` for pointers returning 0 alignment --- src/type.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/type.zig') diff --git a/src/type.zig b/src/type.zig index e3a4b3d60a..769e48ccc5 100644 --- a/src/type.zig +++ b/src/type.zig @@ -4687,7 +4687,7 @@ pub const Type = extern union { pub const Data = struct { pointee_type: Type, sentinel: ?Value = null, - /// If zero use pointee_type.AbiAlign() + /// If zero use pointee_type.abiAlignment() @"align": u32 = 0, /// See src/target.zig defaultAddressSpace function for how to obtain /// an appropriate value for this field. -- cgit v1.2.3