Clojure

CLJ-940 breaks compilation of namespaces that don't have any public functions

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Completed
  • Affects Version/s: Release 1.5
  • Fix Version/s: Release 1.5
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code
  • Approval:
    Ok

Description

CLJ-940 that was recently committed to master break compilation of namespaces that don't have any public functions in them
(for example, like https://github.com/michaelklishin/monger/blob/master/src/clojure/monger/json.clj that only extends
a protocol).

This affects several of clojurewerkz.org projects that no longer can compile with 1.5.0-master-SNAPSHOT.

Activity

Hide
Stuart Sierra added a comment -

Patch applied.

Show
Stuart Sierra added a comment - Patch applied.
Hide
Michael Klishin added a comment -

An example project that reproduces the issue (see in the README):
https://github.com/michaelklishin/clj1062

Show
Michael Klishin added a comment - An example project that reproduces the issue (see in the README): https://github.com/michaelklishin/clj1062
Hide
Michael Klishin added a comment -

To be more correct: it breaks compilation of namespaces that require/load such ns without any public functions.

Show
Michael Klishin added a comment - To be more correct: it breaks compilation of namespaces that require/load such ns without any public functions.

People

Vote (0)
Watch (4)

Dates

  • Created:
    Updated:
    Resolved: