-
Notifications
You must be signed in to change notification settings - Fork 89
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
Global intrinsic functions like range
not working in child template
#166
Comments
Hm... You're right. I have to check this out. That's very strange behavior. |
The problem is in visibility of the global intrinsic functions. If you replace |
range
not working in child template
Ok, about my personal globals which I insert using |
I find something at this call site of Line 268 in 6947605
|
BTW, globals should work with any value of this param. Because of globals. :) |
I'm a bit confused about understanding the vocabulary regarding the various scope rules. I observe that the When it's cloned, it doesn't pass to the clone context, it's only Maybe it's |
No. I suppose, problem is here: Line 190 in 6947605
Globals should set up in |
This small change fixes the problem on my side, and the test suite passes. |
Hi, thanks for great work in the latest commits.
I find there remains an issue after applying the bugfixes.
In a child template, range-for appears non-working.
In the example, the first case is going to print
Foo1,Foo2,Foo3,
; but the same loop in an overriden block outputs nothing.1.txt
2.txt
The text was updated successfully, but these errors were encountered: