mirror of
https://github.com/urbit/shrub.git
synced 2024-12-03 05:43:18 +03:00
fix /=invalid= trap by not needlessly casting to %noun
This commit is contained in:
parent
e108f44b86
commit
62e856eb8c
@ -697,7 +697,8 @@
|
||||
++ dy-mare :: build expression
|
||||
|= gen=twig
|
||||
^- silk
|
||||
:+ %cast (fall (dy-twig-mark gen) %noun)
|
||||
=+ too=(dy-twig-mark gen)
|
||||
=- ?~(too - [%cast u.too -])
|
||||
:+ %ride gen
|
||||
:- [%$ dy-twig-head]
|
||||
[%plan he-beam / zuse arc lib ~ ~]
|
||||
|
@ -1032,7 +1032,7 @@
|
||||
(fine cof bem(r [%ud ((hard ,@) +.+:(need u.von))]))
|
||||
|= [cof=cafe bem=[[ship desk %ud r=@u] s=spur]]
|
||||
?: =(0 r.bem)
|
||||
(flaw cof [leaf/"ford: no data: {(tope bem(s ~))}"]~)
|
||||
(flaw cof [leaf/"ford: no data: {<(tope bem(s ~))>}"]~)
|
||||
(fine cof bem)
|
||||
::
|
||||
++ lave :: validate
|
||||
|
Loading…
Reference in New Issue
Block a user