You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If i and i0 are intended to be available only in anonymous subtemplates (the doc seems suggesting so),
then at least the behavior must be consistent across non-zipping and zipping cases.
In non-zipping case, i and i0 aren't required and even if we specify them, no indices are passed in.
But in zipping case, if we add i and i0 to the argument list, the proper indices are passed in.
That's weird to me.
UPDATE: I read Interpreter.java and for the zip_map, if (st.impl.isAnonSubtemplate) check around st.rawSetAttribute("i0", i0) seems omitted by mistake. rot_map and rot_map_iterator have one.
The text was updated successfully, but these errors were encountered:
dynaxis
changed the title
Zip map requires i0 and i in the argument list
Zip map wrongly requires i0 and i in the argument list
Jun 28, 2024
According to the user guide:
works and actually does fine. But the following doesn't:
The error says
parens
requiresi0
andi
. So the following works:The same works with anonymous template as follows:
If
i
andi0
are intended to be available only in anonymous subtemplates (the doc seems suggesting so),then at least the behavior must be consistent across non-zipping and zipping cases.
In non-zipping case,
i
andi0
aren't required and even if we specify them, no indices are passed in.But in zipping case, if we add
i
andi0
to the argument list, the proper indices are passed in.That's weird to me.
UPDATE: I read
Interpreter.java
and for thezip_map
,if (st.impl.isAnonSubtemplate)
check aroundst.rawSetAttribute("i0", i0)
seems omitted by mistake.rot_map
androt_map_iterator
have one.The text was updated successfully, but these errors were encountered: