mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 01:24:49 +01:00
Sema: minor fix
This commit is contained in:
parent
7344fa7e94
commit
fdb1a52948
1 changed files with 2 additions and 2 deletions
|
|
@ -15913,12 +15913,12 @@ fn zirBitSizeOf(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!A
|
|||
.undefined,
|
||||
.null,
|
||||
.@"opaque",
|
||||
=> return sema.fail(block, operand_src, "no size available for type '{f}'", .{operand_ty.fmt(pt)}),
|
||||
|
||||
.type,
|
||||
.enum_literal,
|
||||
.comptime_float,
|
||||
.comptime_int,
|
||||
=> return sema.fail(block, operand_src, "no size available for type '{f}'", .{operand_ty.fmt(pt)}),
|
||||
|
||||
.void,
|
||||
=> return .zero,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue