diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Sema.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sema.zig b/src/Sema.zig index 6feb679f4b..047f8c2c96 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -5205,7 +5205,7 @@ fn zirValidateDestructure(sema: *Sema, block: *Block, inst: Zir.Inst.Index) Comp const operand_ty = sema.typeOf(operand); const can_destructure = switch (operand_ty.zigTypeTag(mod)) { - .Array => true, + .Array, .Vector => true, .Struct => operand_ty.isTuple(mod), else => false, }; |
