mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 10:02:32 +03:00
dojo: better generator errors
This commit is contained in:
parent
28403eff52
commit
1107aa180a
@ -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)
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user