summaryrefslogtreecommitdiff
path: root/patches
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2026-02-27 19:17:59 +0100
committerChris Boesch <chrboesch@noreply.codeberg.org>2026-02-27 19:17:59 +0100
commit908109df2d4990f1fdc3ed32dd84edf0bf9a99a1 (patch)
treefa82a9f5551dae0b179362dadc9b1a8f4fd373a8 /patches
parentc03255063338f28cf452d5968380d18e1b58d13b (diff)
parent53f7e015cbc3966e70b6436415c1e1421ae7f8cf (diff)
Merge pull request 'add hint that @field() works differently on types and values' (#367) from pebose/exercises:add-hint-to-exercise-82 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/367
Diffstat (limited to 'patches')
-rw-r--r--patches/patches/082_anonymous_structs3.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/patches/082_anonymous_structs3.patch b/patches/patches/082_anonymous_structs3.patch
index 0f71a94..28a6728 100644
--- a/patches/patches/082_anonymous_structs3.patch
+++ b/patches/patches/082_anonymous_structs3.patch
@@ -1,5 +1,5 @@
---- exercises/082_anonymous_structs3.zig 2025-03-14 16:41:17.892873287 +0200
-+++ answers/082_anonymous_structs3.zig 2025-03-14 16:40:56.043829543 +0200
+--- exercises/082_anonymous_structs3.zig 2026-02-27 13:05:46
++++ answers/082_anonymous_structs3.zig 2026-02-27 13:07:22
@@ -82,14 +82,14 @@
// @typeInfo(Circle).@"struct".fields
//
@@ -17,9 +17,9 @@
// 3. Print the field's name, type, and value.
//
// Each 'field' in this loop is one of these:
-@@ -119,9 +119,9 @@
+@@ -123,9 +123,9 @@
+ // for declarations. If it's a value, it looks for data.
//
- // The first field should print as: "0"(bool):true
print("\"{s}\"({any}):{any} ", .{
- field.???,
- field.???,