Skip to content

Referred vars in a namespace are only available after a (load-file) #48

Description

@tomjakubowski

To reproduce:

  • Run lein cljsbuild once in the example project.
  • Open a REPL in the example project.
  • Open index.html in a browser.
  • Switch to the weasel-example.example NS, and evaluate baz.

The referred var will not be available.

Then, run (load-file "weasel_example/example.cljs"), and try to evaluate baz again. The referred var will be available, and its value will be printed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions