mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
Sema: minor fix
This commit is contained in:
+2
-2
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user