diff options
Diffstat (limited to 'src/comptime.zig')
| -rw-r--r-- | src/comptime.zig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/comptime.zig b/src/comptime.zig index ddcd7e1..808915d 100644 --- a/src/comptime.zig +++ b/src/comptime.zig | |||
| @@ -24,9 +24,8 @@ pub fn ComptimeClap(comptime Id: type, comptime params: []const clap.Param(Id)) | |||
| 24 | break :blk res; | 24 | break :blk res; |
| 25 | }; | 25 | }; |
| 26 | 26 | ||
| 27 | converted_params = converted_params ++ []clap.Param(usize){ | 27 | const converted = clap.Param(usize).init(index, param.takes_value, param.names); |
| 28 | clap.Param(usize).init(index, param.takes_value, param.names), | 28 | converted_params = converted_params ++ []clap.Param(usize){converted}; |
| 29 | }; | ||
| 30 | } | 29 | } |
| 31 | 30 | ||
| 32 | return struct { | 31 | return struct { |