diff options
author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-01-21 17:11:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-21 17:11:41 +0100 |
commit | 4e8d91c8f2f6095cc27ab31960fe081e55268ecb (patch) | |
tree | 50aca85970da001555d947fd3b7315ecf8283c5b /patches | |
parent | 69a02c5ec4f279feb750e97cf079525947c944e7 (diff) | |
parent | 171e2b693c190356182d9fa926979d6bacbbbd29 (diff) |
Merge pull request #166 from chrboesch/patches
patches fixed
Diffstat (limited to 'patches')
-rw-r--r-- | patches/patches/065_builtins2.patch | 6 | ||||
-rw-r--r-- | patches/patches/082_anonymous_structs3.patch | 2 |
2 files changed, 4 insertions, 4 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}); } diff --git a/patches/patches/082_anonymous_structs3.patch b/patches/patches/082_anonymous_structs3.patch index bb4a6f2..6965858 100644 --- a/patches/patches/082_anonymous_structs3.patch +++ b/patches/patches/082_anonymous_structs3.patch @@ -12,5 +12,5 @@ < ???, --- > field.name, -> field.field_type, +> field.type, > @field(tuple, field.name), |