Doesn't work properly in core.async projects #81
Comments
Could you please provide an example namespace? I believe EDIT: By ignored, I mean that that |
I made this, but it only got me a totally different error message: (ns slamhoundtest.core
(:require [clojure.core.async :refer [go chan >!] :as async]))
(defn something [x]
(let [ch (chan)]
(go (>! ch x))
ch))
|
Hello, This example ns works for me. However, that error is familiar: one of your dependencies is pulling in an old version of clojure.core.cache (or clojure.core.memoize; I don't recall precisely). Googling that exception message should turn up workarounds by Ambrose Bonnaire-Sergeant and Andy Fingerhut. As far as Slamhound is concerned, could you please test again with a clean :dependencies vector in both ~/.lein/profiles.clj and project.clj? (Aside from slamhound, of course). Thank you! |
All I get now is
|
Could you post an example buffer please? I have not personally run into any problems with core.async |
It's the exact buffer I posted in here. |
Then I can not reproduce, unfortunately. I am interested in uncovering the issue, so could you please post an example repository with project.clj + example source? |
I also got the same issue. project.clj (defproject sh-issue "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/core.async "0.1.338.0-5c5012-alpha"]]) core.clj (ns sh-issue.core)
(defn something [x]
(let [ch (chan)]
(go (>! ch x))
ch)) error in cider:
lein version: CIDER version: slamhound version: |
above project failed from command line too. $ lein slamhound src/sh_issue/core.clj
Failed to reconstruct: #<File src/sh_issue/core.clj>
ava.lang.IllegalArgumentException: No implementation of method: :has? of protocol: #'clojure.core.cache/CacheProtocol found for class: clojure.core.memoize.PluggableMemoization, compiling:(/tmp/form-init1312218144590476856.clj:1:45) |
Confirming I see the same issue. Moreover, if you bump core.cache to 0.6.4, you get back to the |
Slamhound fails to work properly in core.async projects, stating to
Same goes, by the way, for the lz4-compressor addon for nippy.
The text was updated successfully, but these errors were encountered: