mirror of
https://github.com/urbit/shrub.git
synced 2024-12-04 14:58:10 +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
|
++ dy-mare :: build expression
|
||||||
|= gen=twig
|
|= gen=twig
|
||||||
^- silk
|
^- silk
|
||||||
:+ %cast (fall (dy-twig-mark gen) %noun)
|
=+ too=(dy-twig-mark gen)
|
||||||
|
=- ?~(too - [%cast u.too -])
|
||||||
:+ %ride gen
|
:+ %ride gen
|
||||||
:- [%$ dy-twig-head]
|
:- [%$ dy-twig-head]
|
||||||
[%plan he-beam / zuse arc lib ~ ~]
|
[%plan he-beam / zuse arc lib ~ ~]
|
||||||
|
@ -1032,7 +1032,7 @@
|
|||||||
(fine cof bem(r [%ud ((hard ,@) +.+:(need u.von))]))
|
(fine cof bem(r [%ud ((hard ,@) +.+:(need u.von))]))
|
||||||
|= [cof=cafe bem=[[ship desk %ud r=@u] s=spur]]
|
|= [cof=cafe bem=[[ship desk %ud r=@u] s=spur]]
|
||||||
?: =(0 r.bem)
|
?: =(0 r.bem)
|
||||||
(flaw cof [leaf/"ford: no data: {(tope bem(s ~))}"]~)
|
(flaw cof [leaf/"ford: no data: {<(tope bem(s ~))>}"]~)
|
||||||
(fine cof bem)
|
(fine cof bem)
|
||||||
::
|
::
|
||||||
++ lave :: validate
|
++ lave :: validate
|
||||||
|
Loading…
Reference in New Issue
Block a user