diff options
Diffstat (limited to 'patches/patches/065_builtins2.patch')
| -rw-r--r-- | patches/patches/065_builtins2.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/patches/065_builtins2.patch b/patches/patches/065_builtins2.patch index 9c1bf76..89fb55f 100644 --- a/patches/patches/065_builtins2.patch +++ b/patches/patches/065_builtins2.patch @@ -23,17 +23,17 @@ // name will not be printed if the field is of type 'void' // (which is a zero-bit type that takes up no space at all!): - if (fields[0].??? != void) { -+ if (fields[0].field_type != void) { ++ if (fields[0].type != void) { print(" {s}", .{@typeInfo(Narcissus).Struct.fields[0].name}); } - if (fields[1].??? != void) { -+ if (fields[1].field_type != void) { ++ if (fields[1].type != void) { print(" {s}", .{@typeInfo(Narcissus).Struct.fields[1].name}); } - if (fields[2].??? != void) { -+ if (fields[2].field_type != void) { ++ if (fields[2].type != void) { print(" {s}", .{@typeInfo(Narcissus).Struct.fields[2].name}); } |
