Thanks for checking into it. Using current master seems to fix it for me as 
well. I'll use a local copy until the next release.

Thanks again!
chap

On Tuesday, April 28, 2015 at 8:44:59 PM UTC-4, Alex Miller wrote:
>
> I think this is a bug in the fairly old tools.analyzer version used in the 
> latest released version. That's actually been updated for the next release 
> and does not seem reproducible to me there. 
>
>
> On Tuesday, April 28, 2015 at 6:04:19 PM UTC-5, Chap Lovejoy wrote:
>>
>> I'm running into a strange exception trying to handle exceptions within a 
>> go block. So far this is the simplest test case I've gotten to fail:
>>
>> (ns test-async
>>   (require [clojure.core.async :refer [go >!]
>>             :as async]))
>>
>>
>> (defn test-chan
>>   [chan]
>>   (go
>>     (try
>>       (>! chan)
>>       (catch Throwable ex
>>         ex))))
>>
>>
>> Requiring the namespace results in the following error:
>> user=> (require 'test-async :reload)
>> CompilerException java.lang.RuntimeException: Unable to resolve symbol: 
>> test-async in this context, compiling:(test_async.clj:7:3)
>>
>>
>> Using either >! or <! triggers the error. Removing these operations makes 
>> it go away. Is there something I'm missing here? I'm using the latest 
>> (0.1.346.0-17112a-alpha) version of core.async and have tried on both 1.6.0 
>> and 1.7.0-beta1.
>>
>> Thanks,
>> Chap
>>
>>
>>
>>

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to