commit eb62889ab2cdea07360fb16db1c10a9ea981fc7e
parent 746bf5fbf39a71158ce936ad8434df61cfde55a4
Author: Ember Sawady <ecs@d2evs.net>
Date: Sun, 30 Apr 2023 23:07:54 +0000
cmd/haretype: update for align builtin
Signed-off-by: Ember Sawady <ecs@d2evs.net>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/haretype/main.ha b/cmd/haretype/main.ha
@@ -36,8 +36,8 @@ fn typeinfo(
if (hatype.sz == types::SIZE_UNDEFINED) "undefined"
else hatype.sz)?;
fmt::println("\talign:",
- if (hatype.align == types::SIZE_UNDEFINED) "undefined"
- else hatype.align)?;
+ if (hatype._align == types::SIZE_UNDEFINED) "undefined"
+ else hatype._align)?;
};
export fn main() void = {