From ecb79fc433765688cf60ac4ee8ebe38e782641cd Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 2 Nov 2026 09:05:43 +0100 Subject: update to zig 0.17 --- src/zilch/Component.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/zilch/Component.zig') diff --git a/src/zilch/Component.zig b/src/zilch/Component.zig index 592b464..3a81301 100644 --- a/src/zilch/Component.zig +++ b/src/zilch/Component.zig @@ -37,7 +37,7 @@ pub fn build(comptime options: Options) Self { fn handlerNeedsEvent(func: anytype) bool { const T = @TypeOf(func); - return @typeInfo(T).@"fn".params.len == 2; + return @typeInfo(T).@"fn".param_types.len == 2; } fn wrapHandler(ret: anytype) void { -- cgit v1.2.3-70-g09d2