fix /=invalid= trap by not needlessly casting to %noun

This commit is contained in:
Anton Dyudin 2015-11-12 12:27:05 -08:00
parent e108f44b86
commit 62e856eb8c
2 changed files with 3 additions and 2 deletions

View File

@ -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 ~ ~]

View File

@ -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