aboutsummaryrefslogtreecommitdiff
path: root/src/zilch/Env/value.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-10-19 13:18:21 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2026-10-19 13:18:21 +0200
commit5b7b5c48e50d377b794dbbfc1c270ec6fd387e4b (patch)
tree8369050da2323acc157176112cca905333d40079 /src/zilch/Env/value.zig
parent0790cae660a6602697c63cf8b4ada78aa3661f82 (diff)
zilch: remove uninit value kind
Diffstat (limited to 'src/zilch/Env/value.zig')
-rw-r--r--src/zilch/Env/value.zig14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/zilch/Env/value.zig b/src/zilch/Env/value.zig
index b135366..ea54ff2 100644
--- a/src/zilch/Env/value.zig
+++ b/src/zilch/Env/value.zig
@@ -137,13 +137,13 @@ pub const Value = extern struct {
}
pub const Kind = enum(u8) {
- object = 1,
- string = 2,
- int = 3,
- uint = 4,
- float = 5,
- undefined = 6,
- future = 7,
+ object = 0,
+ string = 1,
+ int = 2,
+ uint = 3,
+ float = 4,
+ undefined = 5,
+ future = 6,
pub fn asType(comptime self: Kind) type {
return switch (self) {