Uploaded image for project: 'Apache Freemarker'
  1. Apache Freemarker
  2. FREEMARKER-60

Document interaction between lazy import and #global

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.3.26-incubating
    • Fix Version/s: 2.3.27-incubating
    • Component/s: documentation
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              perfnorm Jasper Rosenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: