technomancy/leiningen — pull request #993 by hugoduncan (2013-02-09 03:58:46+00:00)
Title: Aliases using with-profiles give stack overflow if the alias name matches a task name

An alias such as `{"doc" ["with-profile" "+doc" "doc"]}` will lead to a stack overflow when executed.

This is due to the project being reload when `with-profile` calls `set-profiles`, thus re-instating the aliases that have been removed by `remove-alias`.