-
Notifications
You must be signed in to change notification settings - Fork 641
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
Unable to see a macro defined in an included file #466
Comments
Hm, I thought it should work that way... I've mentioned about it in very old issue #309, but nobody paid any attention to it, so I thought it's just as per design. I'm glad that in fact it isn't. |
Serj, when you found this didn't work, what version of Nunjucks were you On Mon, Jun 22, 2015 at 2:37 PM, Serj Lavrin [email protected]
*THOMAS BOUTELL, *DEV & OPS |
I can verify this feature works in nunjucks 1.3.4. On Mon, Jun 22, 2015 at 3:02 PM, Tom Boutell [email protected] wrote:
*THOMAS BOUTELL, *DEV & OPS |
Can't tell for sure. Something around |
My test passes in v1.3.4. Just verified that. On Mon, Jun 22, 2015 at 3:15 PM, Serj Lavrin [email protected]
*THOMAS BOUTELL, *DEV & OPS |
(I also updated my test to avoid a false positive due to testing for the On Mon, Jun 22, 2015 at 3:43 PM, Tom Boutell [email protected] wrote:
*THOMAS BOUTELL, *DEV & OPS |
Just for the clarity: #465 |
Please see:
#465
For a pull request that adds a unit test for this. It seems pretty straightforward: a macro defined in a file fetched with a simple "include" is not visible after the "include."
The text was updated successfully, but these errors were encountered: