core.async

Issue with (require [clojure.core.async :as async])

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Not Reproducible
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

I was attempting to try out the new transducer stuff with core.async, but was thwarted by namespace issues.

(ns my-ns
(require [clojure.core.async :as async]))

Yields:

java.lang.IllegalArgumentException: No single method: add_BANG_STAR of interface: clojure.core.async.impl.protocols.Buffer found for function: add!* of protocol: Buffer

My dependencies are as follows:

<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.7.0-alpha1</version>
</dependency>

<dependency>
<groupId>org.clojure</groupId>
<artifactId>core.async</artifactId>
<version>0.1.319.0-6b1aca-alpha</version>
</dependency>

Activity

Hide
Ghadi Shayban added a comment -

This sounds like a code reloading issue. Have you tried removing your target/ directory and restarting the REPL?

Totally unrelated, but ns declarations take keyword :require instead of symbol.

Show
Ghadi Shayban added a comment - This sounds like a code reloading issue. Have you tried removing your target/ directory and restarting the REPL? Totally unrelated, but ns declarations take keyword :require instead of symbol.
Hide
Alex Miller added a comment -

Can't reproduce

Show
Alex Miller added a comment - Can't reproduce

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: