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
This looks like it might be a remnant of #906, but maybe it's expected behavior. Please let me know if I am missing something. The only addition I've made to the example given in that issue is the keyword argument in the outside() signature:
Edit: I seem to have been wrong about the cause of this behavior. It also happens to variables set in the outer macro block. The following produces the same effect:
The text was updated successfully, but these errors were encountered:
albedoa
changed the title
Call block fails to carry scope when outer macro uses keyword argument
Call block fails to carry scope when outer macro uses {% set %} or keyword argument
Jul 25, 2018
This looks like it might be a remnant of #906, but maybe it's expected behavior. Please let me know if I am missing something. The only addition I've made to the example given in that issue is the keyword argument in the
outside()
signature:The output is:
I expect the output to be:
A demo can be seen here: http://jsfiddle.net/j8Lur5tx/
Edit: I seem to have been wrong about the cause of this behavior. It also happens to variables set in the outer macro block. The following produces the same effect:
The text was updated successfully, but these errors were encountered: