<< Back to previous view

[CLJ-1062] CLJ-940 breaks compilation of namespaces that don't have any public functions Created: 05/Sep/12  Updated: 01/Mar/13  Resolved: 21/Sep/12

Status: Closed
Project: Clojure
Component/s: None
Affects Version/s: Release 1.5
Fix Version/s: Release 1.5

Type: Defect Priority: Critical
Reporter: Michael Klishin Assignee: Stuart Sierra
Resolution: Completed Votes: 0
Labels: None

Attachments: Text File 0001-CLJ-1062-fix-require-1.patch    
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.



 Comments   
Comment by Michael Klishin [ 05/Sep/12 8:39 PM ]

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

Comment by Michael Klishin [ 05/Sep/12 8:46 PM ]

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

Comment by Stuart Sierra [ 21/Sep/12 8:28 AM ]

Patch applied.

Generated at Tue Oct 21 02:16:11 CDT 2014 using JIRA 4.4#649-r158309.