ClojureScript

cljs.import-test not run in test suite / ordering problem in the compiler

Details

  • Type: Defect Defect
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

The test code from CLJS-312 is not hooked up to the test suite, which is trivially fixed.

Hooking up the test, however reveals a deeper problem (besides that it has a failing assumption):

Presumably due to the goog.provides later in the files, the compiler orders the output wrong, which results in not provided errors.
Most interestingly, this problem goes away, when compiling from a prepopulated out directory, presumably because then the closure compiler handles the ordering?

Activity

Herwig Hochleitner made changes -
Field Original Value New Value
Attachment 0001-CLJS-407-Hook-up-cljs.import-test-to-the-test-runner.patch [ 11608 ]

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: