Skip to content

Commit f84189c

Browse files
committed
more 0.14.0 fixes
1 parent 5a7e485 commit f84189c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types.zig

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ pub fn defaultBuiltinsFor(comptime Value: type, comptime Field: type) type {
9494
inline for (std.meta.fields(Value)) |f| {
9595
if (f.type == Field) {
9696
switch (@typeInfo(f.type)) {
97-
.Pointer => |ptr| {
97+
.pointer => |ptr| {
9898
if (@typeInfo(ptr.child) == .Struct) {
9999
return @field(ptr.child, "Builtins");
100100
}
101101
},
102-
.Struct => {
102+
.@"struct" => {
103103
return @field(f.type, "Builtins");
104104
},
105105
else => {},

0 commit comments

Comments
 (0)