On Mon, Nov 15, 2010 at 11:35 AM, trying clj <trying...@gmail.com> wrote:
> A compile error "Unable to resolve helloworld in this context" is produced
> (on either latest clojure-maven-plugin or Leiningen). If the two defn's are
> switched places, the build completes successfully.
>
> This is very basic functionality but after thinking a lot, I still see no
> reason why it isn't working. What am I getting wrong?

Circular dependencies are not allowed. The problem is that the
compiler gives you an unhelpful message. This issue is actually as old
as the hills (pre-1.0), though there has been a patch submitted
recently that fixes it: http://dev.clojure.org/jira/browse/CLJ-8

Just waiting for that to get applied.

-Phil

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to