Skip to content

Commit d758717

Browse files
elverskogjinzhongjia
authored andcommitted
compileError not compilerError
1 parent 74f7ba5 commit d758717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webui.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ pub fn binding(self: webui, element: [:0]const u8, comptime callback: anytype) !
773773

774774
const fnInfo = TInfo.@"fn";
775775
// Verify return type is void
776-
const Ret = fnInfo.return_type orelse @compilerError("return_type can't be null");
776+
const Ret = fnInfo.return_type orelse @compileError("return_type can't be null");
777777
if (Ret != void) {
778778
const err_msg = std.fmt.comptimePrint(
779779
"callback's return type ({}), it must be void!",

0 commit comments

Comments
 (0)