Skip to content

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

Open
@tomjakubowski

Description

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.

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