From 1107aa180a52a63a0c124b9f4960fb45fa3eef33 Mon Sep 17 00:00:00 2001 From: midden-fabler Date: Fri, 23 Jun 2023 01:15:45 -0400 Subject: [PATCH] dojo: better generator errors --- pkg/arvo/app/dojo.hoon | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/arvo/app/dojo.hoon b/pkg/arvo/app/dojo.hoon index 1f33dc1ce1..bb0bfbe5bd 100644 --- a/pkg/arvo/app/dojo.hoon +++ b/pkg/arvo/app/dojo.hoon @@ -846,7 +846,6 @@ :: kev: key-value named arguments :: kuv: default keyword arguments :: sam: fully populated sample - :: rog: default gat sample :: |. ^- vase =/ gat=vase (slot 3 q.cay) @@ -883,10 +882,12 @@ :: =/ sam=vase :(slop ven poz kev) ?. (~(nest ut p.som) | p.sam) + =/ ned=vase (slot 3 som) + =/ hav=vase (slot 3 sam) ~> %slog.1^leaf+"dojo: nest-need" - ~> %slog.0^(skol p.som) + ~> %slog.0^(skol p.ned) ~> %slog.1^leaf+"dojo: nest-have" - ~> %slog.0^(skol p.sam) + ~> %slog.0^(skol p.hav) !! (slam gat sam) ::