core.async

go blocks don't handle explicitly namespaced calls to <! and >!

Details

  • Type: Defect Defect
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    [org.clojure/clojure "1.5.1"]
    [org.clojure/clojurescript "0.0-1844"]
    [org.clojure/core.async "0.1.0-SNAPSHOT"]

Description

When <Unable to render embedded object: File (, >) not found., or the go macro is explicitly namespaced, the assertion that <! or >! was called outside of a go block is raised.

Example:
(ns foo
(:require [cljs.core.async :as async)
(:require-macros [cljs.core.async.macros :refer [go]))

;; raises assertion error
(let [c (async/chan)]
(async/go
(loop []
(async/<! c)
(recur))))

Activity

Timothy Baldridge made changes -
Field Original Value New Value
Resolution Completed [ 1 ]
Assignee Rich Hickey [ richhickey ] Timothy Baldridge [ halgari ]
Status Open [ 1 ] Resolved [ 5 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: