The go macro simply generates enough code so that the ClojureScript compiler 
blows the call stack. 

One can simply reproduce it putting enough code into a go macro. doseq generate 
lots. 

Does this mean we should optimize the ClojureScript version of the go macro to 
emit less code?



On Wednesday, July 29, 2015 at 8:57:29 PM UTC+2, David Nolen wrote:
> Yes there's one about core.match opened by me. Same bug.
> 
> On Wednesday, July 29, 2015, [email protected] <[email protected]> 
> wrote:
> Not be able to use doseq in go seems like a bug. Is there an outstanding JIRA 
> ticket for this?
> 
> 
> 
> On Wednesday, July 29, 2015 at 2:40:03 PM UTC-4, David Nolen wrote:
> 
> > Don't put complex macros like doseq into go. The same issue occurs with 
> > core.match. Just lift those things out.
> 
> >
> 
> >
> 
> > David
> 
> >
> 
> >
> 
> > On Wed, Jul 29, 2015 at 2:36 PM, Leon Grapenthin <[email protected]> 
> > wrote:
> 
> > Hi everyone,
> 
> >
> 
> >
> 
> >
> 
> >  this is by far the wierdest bug I have ever seen. It was a big problem 
> > during development of our production app today and isolating it this far 
> > from a large code base took several hours already.
> 
> >
> 
> >
> 
> >
> 
> > I can't even fill a JIRA ticket since it is currently difficult to estimate 
> > whether its a bug with ClojureScript, the CLJS implementation of 
> > core.async, Clojure itself (assumedly hashing)
> 
> >
> 
> >
> 
> >
> 
> > At this point I can't proceed efficiently due to a lack of knowledge of the 
> > internals of the ClojureScript compiler, so I am asking you experts for 
> > help.
> 
> >
> 
> >
> 
> >
> 
> > This is the repo with the most minimal case so far
> 
> >
> 
> >
> 
> >
> 
> > https://github.com/lgrapenthin/wierd-err
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> > Kind regards,
> 
> >
> 
> >  Leon.
> 
> >
> 
> >
> 
> >
> 
> > --
> 
> >
> 
> > 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