jcrossley3 / lein-modules

An alternative to Maven multi-module projects in Leiningen
Eclipse Public License 1.0
83 stars 16 forks source link

User profiles inherited multiple times when :user is a composite profile #25

Closed hugoduncan closed 8 years ago

hugoduncan commented 9 years ago

When the :user profile is composite, the user profiles specified by :user are inherited multiple times, which can lead to incorrect values for merged vectors in the profile.

jcrossley3 commented 9 years ago

Noting a comment from @hugoduncan on irc: "lein-modules breaks profile merging when the :user profile is a composite (as it then doesn't get filtered in lein-modules.inheritance/filter-profiles)"

jcrossley3 commented 9 years ago

@hugoduncan I'm having a hard time reproducing this. I don't think a composite :user profile would prevent it from being excluded by filter-profiles. can you provide a simple example?