aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/optionals.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2026-02-19 23:58:49 -0500
committerBruce Hill <bruce@bruce-hill.com>2026-02-19 23:58:49 -0500
commitb780cff8e43bb9834ecd44f33ae8d33bb8528d82 (patch)
tree69067a393b73a29e2e811f782872c48532e987af /src/stdlib/optionals.h
parentfde2d5876236c9048ee1112be90c8af41c910149 (diff)
Code cleanup
Diffstat (limited to 'src/stdlib/optionals.h')
-rw-r--r--src/stdlib/optionals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/optionals.h b/src/stdlib/optionals.h
index 700a4ada..50dbd4de 100644
--- a/src/stdlib/optionals.h
+++ b/src/stdlib/optionals.h
@@ -15,7 +15,7 @@
#define NONE_TABLE ((OptionalTable_t){.entries.data = NULL})
#define NONE_CLOSURE ((OptionalClosure_t){.fn = NULL})
#define NONE_TEXT ((OptionalText_t){.tag = TEXT_NONE})
-#define NONE_PATH ((OptionalPath_t){.$tag = Path$tag$none})
+#define NONE_PATH (Path_t) NULL
PUREFUNC bool is_none(const void *obj, const TypeInfo_t *non_optional_type);
PUREFUNC uint64_t Optional$hash(const void *obj, const TypeInfo_t *type);