Ok, I've made *some* progress in ripping out code unrelated to this issue. 
So far it seems if I remove any more the issue disappears. See 
https://github.com/achengs/subparissue1

It's a mystery to me why ...

   - removing any of the three arguments to the loop/recur in the parse 
   function in 
   
https://github.com/achengs/subparissue1/blob/master/src-cljs/subpar/core.cljs 
prevents 
   the exception from being thrown (the issue goes away and both output js 
   files behave the same)
   - the so-called parse function interprets the first character from 
   codemirror differently the second time you hit Alt-S on the demo page that 
   reproduces the exception... but this difference in parsing doesn't show up 
   on the page that demos normal behavior
   - removing the for loop in 
   
https://github.com/achengs/subparissue1/blob/master/resources/public/js/subpar.js
 for 
   reindenting lines also makes the issue go away


On Thursday, October 4, 2012 1:02:08 PM UTC-4, David Nolen wrote:
>
> On Thu, Oct 4, 2012 at 12:40 PM, Andrew <ach...@gmail.com <javascript:>>wrote:
>
>> Please see https://github.com/achengs/subpar/issues/1 which links to two 
>> demo pages. One page uses the debug (non-optimized non-munged) js version 
>> and seems to work fine. The other uses the optimized version and throws an 
>> exception. Details are in the github issues page and on the demo pages 
>> themselves. I'm wondering why they behave differently. Thanks in advance 
>> for any help!
>
>
> There is too much context here. Can you isolate the problem and create a 
> minimal case? If you can it would be extremely helpful if you could create 
> an issue in JIRA w/ this information.
>
> Thanks!
>
> David 
>
>

-- 
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

Reply via email to