core.async

CLJS -> ioc-macros/fixup-aliasses throws exception

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Declined
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code

Description

Under certain circumstances I get the following exception when using a 'go' block.

Caused by: java.lang.ClassCastException: clojure.lang.Namespace cannot be cast to clojure.lang.Named
             core.clj:1505 clojure.core/name
        ioc_macros.clj:613 cljs.core.async.impl.ioc-macros/fixup-aliases
        ioc_macros.clj:625 cljs.core.async.impl.ioc-macros/eval4971[fn]
        ioc_macros.clj:110 cljs.core.async.impl.ioc-macros/all[fn]

This is caused by the calling (name ns) where ns is namespace instead of calling (ns-name) first. The exception is thrown by the 'go' block in 'basic-test' here: https://gist.github.com/ckirkendall/6415293

Activity

Hide
Timothy Baldridge added a comment -

Closed due to no further information.

Show
Timothy Baldridge added a comment - Closed due to no further information.
Hide
Ghadi Shayban added a comment -

Creighton, do you still encounter the issue against release 0.1.256.0-1bf8cf-alpha?

Show
Ghadi Shayban added a comment - Creighton, do you still encounter the issue against release 0.1.256.0-1bf8cf-alpha?

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: