Uploaded image for project: 'Clojure'
  1. CLJ-2226

AOT Bug regarding "dynamic" class imports

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Declined
    • Affects versions: Release 1.9, Release 1.8
    • Fix versions: None
    • Labels:
    • Environment:

      Ubuntu 17.04

      Description

      When AOT compiling, class imports that are not "inline" with the namespace being compiled do not propagate correctly to the compiled classes.

      For example, in some of my projects I have a imports.clj file on the classpath that all other namespaces load to avoid having to specify the same imports many times in each namespace declaration.

      A simple, reproducible example of the bug is shown in this gist.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alex+import import
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: