diff options
Diffstat (limited to 'src/zilch/Component.zig')
| -rw-r--r-- | src/zilch/Component.zig | 2 |
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 { |