From 4a1aae5c4825ed29889582275acc0e7fefe3231a Mon Sep 17 00:00:00 2001 From: bacwyls Date: Mon, 1 May 2023 18:32:49 -0500 Subject: [PATCH] clay: fix read-s subs for 413 =case was added as an argument to read-s to support %cs subs it was accidentally removed as an argument during a merge, breaking %cs subs by causing it to always crash in a comparison between case and [%da now], because case resolved to the mold rather than a value. this commit restores intended functionality. --- pkg/arvo/sys/vane/clay.hoon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/arvo/sys/vane/clay.hoon b/pkg/arvo/sys/vane/clay.hoon index d011800547..864533b180 100644 --- a/pkg/arvo/sys/vane/clay.hoon +++ b/pkg/arvo/sys/vane/clay.hoon @@ -4243,7 +4243,7 @@ :: +read-s: produce miscellaneous :: ++ read-s - |= [tak=tako pax=path] + |= [tak=tako pax=path =case] ^- (unit (unit cage)) ?: ?=([%subs ~] pax) ?. =([%da now] case) ~ @@ -4514,7 +4514,7 @@ %f (read-f tak path.mun) %p [(read-p path.mun) ..park] %r (read-r tak path.mun) - %s [(read-s tak path.mun) ..park] + %s [(read-s tak path.mun case.mun) ..park] %t [(read-t tak path.mun) ..park] %u [(read-u tak path.mun) ..park] %v [(read-v tak path.mun) ..park]