mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 01:41:37 +03:00
hoon: keep +fish:ar axis updated on recursion
When we recur into a %cell or %over, we need to update the axis appropriately. Co-authored-by: joemfb <joemfb@users.noreply.github.com>
This commit is contained in:
parent
3dfd8189bb
commit
6edaaec0b4
@ -8832,8 +8832,8 @@
|
||||
[%1 &]
|
||||
[%3 %0 axis]
|
||||
%+ flan
|
||||
$(ref (peek(sut ref) %free 2), skin skin.skin)
|
||||
$(ref (peek(sut ref) %free 3), skin ^skin.skin)
|
||||
$(ref (peek(sut ref) %free 2), axis (peg axis 2), skin skin.skin)
|
||||
$(ref (peek(sut ref) %free 3), axis (peg axis 3), skin ^skin.skin)
|
||||
::
|
||||
%leaf
|
||||
?: (~(nest ut [%atom %$ `atom.skin]) | ref)
|
||||
@ -8848,7 +8848,7 @@
|
||||
~| %oops-guess-you-needed-feel-after-all
|
||||
=+ fid=(find %read wing.skin)
|
||||
?> &(?=(%& -.fid) ?=(%& -.q.p.fid))
|
||||
[%7 [%0 (tend p.p.fid)] $(skin skin.skin, sut p.q.p.fid)]
|
||||
$(sut p.q.p.fid, axis (peg axis (tend p.p.fid)), skin skin.skin)
|
||||
%spec q:(~(mint ut ref) %noun [%fits ~(example ax spec.skin) [&+1 ~]])
|
||||
%wash [%1 1] ::TODO shouldn't this always _match_?
|
||||
==
|
||||
|
Loading…
Reference in New Issue
Block a user