mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
fix typo from other commit
d2535c003c6188fcc362028e01ef9f7fb3356727
This commit is contained in:
parent
bee4007ec9
commit
a5a53a182a
@ -1135,7 +1135,7 @@ Error type_val_resolve_zero_bits(CodeGen *g, ZigValue *type_val, ZigType *parent
|
||||
// Self-referencing types via pointers are allowed and have non-zero size
|
||||
ZigType *ty = type_val->data.x_type;
|
||||
while (ty->id == ZigTypeIdPointer &&
|
||||
!ty->data.unionation.resolve_loop_flag_zero_bits)
|
||||
!ty->data.pointer.resolve_loop_flag_zero_bits)
|
||||
{
|
||||
ty = ty->data.pointer.child_type;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user