Christopher Redinger <ch...@clojure.com> writes:

Hi Christopher,

> Can you supply a small example where this is happening?

No, I don't have a small, standalone example. :-(

The problem appeared when I converted my project from multimethods to
protocols.  You can clone my mercurial project and run the tests, which
will trigger the error for the `coupling-by-objects' test.

  $ hg clone https://anonymous:sec...@hg.uni-koblenz.de/horn/funql

The project needs some java library which you can download from

  http://www.uni-koblenz.de/~horn/jgralab.jar

and put into a local maven repository using:

  $ mvn install:install-file \
        -Dfile=/path/to/jgralab.jar \
        -DgroupId=ist \
        -DartifactId=jgralab \
        -Dversion=1.0.0 \
        -Dpackaging=jar

Then fetch the deps and run the tests with either

  $ cake deps
  $ cake test

or

  $ lein deps
  $ lein test

> For reference, this code that failed in alpha6:
> [...]

Well, that works fine now:

user> *clojure-version*
{:interim true, :major 1, :minor 3, :incremental 0, :qualifier "master"}
user> (defn buggy-case [n]
      (case (int n)
            0          :null
            1          :load
            0x70000000 :loproc))
#'user/buggy-case

Bye,
Tassilo

-- 
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