aboutsummaryrefslogtreecommitdiff
path: root/src/zilch/Component.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-11-02 09:05:43 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2026-11-02 09:05:43 +0100
commitecb79fc433765688cf60ac4ee8ebe38e782641cd (patch)
tree68c954fdc41bdf0b4b8e858c4252fd3b959fb85a /src/zilch/Component.zig
parent4363d446c1f40515f7830caa644cc4e580841122 (diff)
update to zig 0.17dev
Diffstat (limited to 'src/zilch/Component.zig')
-rw-r--r--src/zilch/Component.zig2
1 files changed, 1 insertions, 1 deletions
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 {