aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-16 14:11:16 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-03-16 14:11:16 -0400
commit500989cf55530b9e9d8866ecb5c6d72ac2b62581 (patch)
tree40ff4c140e907cbca8db5fce4a0ebddd466d28bb /compile.c
parentfd8c961c1d345fc5f57c05b31aaf66d54a0afc44 (diff)
Rename path `root` to path `type`
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index d40ab487..e45a47b5 100644
--- a/compile.c
+++ b/compile.c
@@ -699,7 +699,7 @@ CORD check_none(type_t *t, CORD value)
else if (t == MATCH_TYPE)
return CORD_all("((", value, ").index.small == 0)");
else if (t == PATH_TYPE)
- return CORD_all("((", value, ").root == PATH_NONE)");
+ return CORD_all("((", value, ").type == PATH_NONE)");
else if (t->tag == BigIntType)
return CORD_all("((", value, ").small == 0)");
else if (t->tag == ClosureType)