| ... | @@ -60,7 +60,7 @@ fn DerivedPropertyEnum(comptime prop: []const u8) type { | ... | @@ -60,7 +60,7 @@ fn DerivedPropertyEnum(comptime prop: []const u8) type { |
| 60 | }}; | 60 | }}; |
| 61 | } | 61 | } |
| 62 | } | 62 | } |
| 63 | return @Type(.{ .Enum = .{ | 63 | return @Type(.{ .@"enum" = .{ |
| 64 | .tag_type = std.math.IntFittingRange(0, fields.len - 1), | 64 | .tag_type = std.math.IntFittingRange(0, fields.len - 1), |
| 65 | .fields = fields, | 65 | .fields = fields, |
| 66 | .decls = &.{}, | 66 | .decls = &.{}, |
| ... | @@ -79,7 +79,7 @@ fn DerivedPropertyLongEnum(comptime prop: []const u8) type { | ... | @@ -79,7 +79,7 @@ fn DerivedPropertyLongEnum(comptime prop: []const u8) type { |
| 79 | .value = fields.len, | 79 | .value = fields.len, |
| 80 | }}; | 80 | }}; |
| 81 | } | 81 | } |
| 82 | return @Type(.{ .Enum = .{ | 82 | return @Type(.{ .@"enum" = .{ |
| 83 | .tag_type = std.math.IntFittingRange(0, fields.len - 1), | 83 | .tag_type = std.math.IntFittingRange(0, fields.len - 1), |
| 84 | .fields = fields, | 84 | .fields = fields, |
| 85 | .decls = &.{}, | 85 | .decls = &.{}, |