@@ -91,7 +91,7 @@ pub const MapKeyType = union(enum) {
9191 kind : []const u8 ,
9292 name : []const u8 ,
9393 }, allocator , source , options );
94- const NameEnum = std . meta . FieldType (std . meta . FieldType (@This (), . base ), . name );
94+ const NameEnum = @ FieldType (@ FieldType (@This (), " base" ), " name" );
9595 if (std .mem .eql (u8 , result .kind , "base" )) {
9696 return .{ .reference = .{ .kind = result .kind , .name = std .meta .stringToEnum (NameEnum , result .name ) orelse return error .InvalidEnumTag } };
9797 } else if (std .mem .eql (u8 , result .kind , "reference" )) {
@@ -107,7 +107,7 @@ pub const MapKeyType = union(enum) {
107107 if (kind != .string ) return error .UnexpectedToken ;
108108
109109 if (std .mem .eql (u8 , kind .string , "base" )) {
110- return .{ .base = try std .json .parseFromValueLeaky (std . meta . FieldType (@This (), . base ), allocator , source , options ) };
110+ return .{ .base = try std .json .parseFromValueLeaky (@ FieldType (@This (), " base" ), allocator , source , options ) };
111111 } else if (std .mem .eql (u8 , kind .string , "reference" )) {
112112 return .{ .reference = try std .json .parseFromValueLeaky (ReferenceType , allocator , source , options ) };
113113 }
0 commit comments