New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Second case of $@ is not checked to be a cell. #6081
Comments
I've looked at this sort of thing a little big. |
I think correct handling of e.g. $@(ship (list)) suggests expanding $@(a b)
to $?($>(@ a) $<(@ b)), if I remember what does runes do correctly.
…On Mon, Nov 14, 2022 at 12:47, Edward Amsden ***@***.***> wrote:
*Describe the bug*
$@(%our ship) compiles
*To Reproduce*
Compile |% +$ wat $@(%our ship)
*Expected behaviour*
Hoon should check that the second case of $@ is a cell
*Notify maintainers*
If you happen to know who the appropriate maintainers are, consider
mentioning them with an @ here. You may want to use git blame to see who
has last touched any relevant code.
—
Reply to this email directly, view it on GitHub
<#6081>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOFPBSDY7RM3PJUSXUBWLTWIKQNDANCNFSM6AAAAAASAHDJPQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Unfortunately Also, |
I mean the way it's documented, it wants runtime behavior to ?- on @ vs ^ when molding, though I do think it expands to just |
Describe the bug
$@(%our ship)
compilesTo Reproduce
Compile
|% +$ wat $@(%our ship) --
Or this file
Expected behaviour
Hoon should check that the second case of $@ is a cell
Notify maintainers
If you happen to know who the appropriate maintainers are, consider mentioning them with an @ here. You may want to use
git blame
to see who has last touched any relevant code.The text was updated successfully, but these errors were encountered: