From a8a552cfa3fbaa903043c7d2b31b6b9e6a22e0a8 Mon Sep 17 00:00:00 2001 From: Bob Farrell Date: Sat, 31 Aug 2024 11:04:33 +0100 Subject: [PATCH] More Type fixes --- cli/commands/generate/view.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/commands/generate/view.zig b/cli/commands/generate/view.zig index 66c79fe..8f1c32e 100644 --- a/cli/commands/generate/view.zig +++ b/cli/commands/generate/view.zig @@ -101,7 +101,7 @@ const Action = struct { // Parse a view arg. Grammar: // [index[:static]|get[:static]|post[:static]|put[:static]|patch[:static]|delete[:static]] fn parseAction(arg: []const u8) ?Action { - inline for (@typeInfo(Method).Enum.fields) |tag| { + inline for (@typeInfo(Method).@"enum".fields) |tag| { const with_static = tag.name ++ ":static"; const method: Method = @enumFromInt(tag.value);