Jasper Rosenberg created FREEMARKER-60:
------------------------------------------

             Summary: Document interaction between lazy import and #global
                 Key: FREEMARKER-60
                 URL: https://issues.apache.org/jira/browse/FREEMARKER-60
             Project: Apache Freemarker
          Issue Type: Improvement
          Components: documentation
    Affects Versions: 2.3.26-incubating
            Reporter: Jasper Rosenberg
            Priority: Trivial


If I am understanding what is going on correctly, it appears that when you turn 
on lazy imports, #global variables defined in that file will not be defined 
unless something else first accesses the imported file's namespace.  This is a 
bit of a weird case so it might just be worth documenting.

Alternatively, you could say that if you have #global variables defined in a 
file it disqualifies it from being lazily imported.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to