diff options
| author | Roman Frołow <rofrol@gmail.com> | 2024-11-02 14:38:53 +0100 |
|---|---|---|
| committer | Roman Frołow <rofrol@gmail.com> | 2024-11-02 14:38:53 +0100 |
| commit | 530dcde3d413849dc2fea18eddcfb8cf85a76cb0 (patch) | |
| tree | 0617d82b3911c786ebbbee36f4acab776a0d85bb | |
| parent | 286439cddc81fb80fc7b5a8adb17afbcc4623c2c (diff) | |
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 d5da950..d6f0839 100644 --- a/patches/patches/065_builtins2.patch +++ b/patches/patches/065_builtins2.patch @@ -24,16 +24,16 @@ // (which is a zero-bit type that takes up no space at all!): - if (fields[0].??? != void) { + if (fields[0].type != void) { - print(" {s}", .{@typeInfo(Narcissus).@"struct".fields[0].name}); + print(" {s}", .{fields[0].name}); } - if (fields[1].??? != void) { + if (fields[1].type != void) { - print(" {s}", .{@typeInfo(Narcissus).@"struct".fields[1].name}); + print(" {s}", .{fields[1].name}); } - if (fields[2].??? != void) { + if (fields[2].type != void) { - print(" {s}", .{@typeInfo(Narcissus).@"struct".fields[2].name}); + print(" {s}", .{fields[2].name}); } |
