Re: ClojureScript broken

2011-08-07 Thread Brenton
> WARNING - dangerous use of the global this object These warnings should now be gone (thanks to Fogus). On Aug 7, 3:19 pm, ataggart wrote: > Great. > > BTW, are these warnings expected: > > $ cat > hello.cljs > (ns hello) > (defn ^:export greet [n] >   (str "Hello " n)) > $ bin/cljsc hello.cljs

Re: ClojureScript broken

2011-08-07 Thread Brenton
Those warnings have been around for a couple of weeks now. In that sense they are expected. I will see what I can find out about them. On Aug 7, 3:19 pm, ataggart wrote: > Great. > > BTW, are these warnings expected: > > $ cat > hello.cljs > (ns hello) > (defn ^:export greet [n] >   (str "Hello "

Re: ClojureScript broken

2011-08-07 Thread ataggart
Great. BTW, are these warnings expected: $ cat > hello.cljs (ns hello) (defn ^:export greet [n] (str "Hello " n)) $ bin/cljsc hello.cljs '{:optimizations :advanced}' > hello.js Aug 7, 2011 12:17:42 PM com.google.javascript.jscomp.LoggerErrorManager println WARNING: /Users/ataggart/projects/clo

Re: ClojureScript broken

2011-08-07 Thread Brenton
Sorry. I didn't notice that you were compiling a single file. That is a different problem from the one I was referring to. You were right about the cause as well. That particular problem is now fixed. Thank you for reporting it. On Aug 7, 11:52 am, ataggart wrote: > Alas, the current bug is in

Re: ClojureScript broken

2011-08-07 Thread ataggart
Alas, the current bug is in the head of master, and is unrelated to either advanced-mode or the absence of the destination file. Rather it appears to be due to the fact that the quick start doesn't pass an output file to cljsc, but rather redirects stdout to the destination file. When that occ

Re: ClojureScript broken

2011-08-07 Thread Brenton
The problem existed from Friday at about 10AM until Saturday morning when it was found and fixed. It only occurred when compiling something in advanced mode for the first time, which is probably why it was missed. There are some tests in place but we haven't yet got to the point where everything is