I have a function:

(defn cb->chan [fn-waiting-for-cb]
  (go
   (let [c (chan)
         cb (fn [& args]
              (js/console.log "1" args)
              (put! c args))]
     (fn-waiting-for-cb cb)
     (let [x (<! c)]
       (js/console.log "2" x)
       x))))

That's the place where it breaks for me. At some point I see only logs with
"1" and nothing from "2", and when this happens cleaning my project dir and
rebuilding from scratch helps. It doesn't seem to depend if it's 2138 or
2156, I really have no idea how to catch that properly...


On Mon, Feb 10, 2014 at 5:21 PM, David Nolen <[email protected]> wrote:

> If you can come up with a minimal case that would be helpful. Thanks.
>
> David
>
>
> On Mon, Feb 10, 2014 at 5:57 AM, Alexander Solovyov <
> [email protected]> wrote:
>
>> Right now it looks even stranger - at some point it just stops working in
>> advanced minification mode. I constantly have 'lein cljsbuild auto dev' and
>> from time to time I run 'lein cljsbuild once min' and at some point my
>> minified version stops working. If I remove all artefacts from building and
>> run it again, it starts working.
>>
>>
>> On Sun, Feb 9, 2014 at 12:31 PM, Alexander Solovyov <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> just noticed that [core.async "0.1.267.0-0d7780-alpha"] doesn't work
>>> with CLJS 2156 in advanced minification mode. It does work with 2138.
>>>
>>
>>  --
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "ClojureScript" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/clojurescript.
>>
>
>  --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to