On Thursday, November 21, 2013 10:12:55 AM UTC-5, David Nolen wrote:
> ClojureScript, the Clojure compiler that emits JavaScript source code.
> 
> 
> README and source code: https://github.com/clojure/clojurescript
> 
> 
> 
> New release version: 0.0-2060
> 
> 
> Leiningen dependency information:
> 
> 
>     [org.clojure/clojurescript "0.0-2060"]
> 
> 
> Source map accuracy is considerably improved in this release. Source
> 
> maps now work great under incremental compilation regardless of the
> level of optimization. PersistentVector performance is considerably
> improved for conj and instantiation.
> 
> 
> 
> Enhancements:
> * CLJS-683: :source-map-path compiler option to simplify web server
>   integration
> * enable-console-print! for console.log based printing
> * *print-length* now supported
> 
> 
> 
> Bug fixes:
> * CLJS-691: IComparable for keywords and symbols
> * CLJS-674: relativization of source map paths
> * CLJS-687: error when deftype/record used as a function
> 
> * CLJS-639: warnings when record initialized incorrectly
> * CLJS-672: source maps + optimizations + :libs breaks building
> * CLJS-676: source map stale under incremental compilation + closure
>   optimization
> 
> * CLJS-684: throw on circular dependency
> * CLJS-583: duplicate keys in sets
> * CLJS-680: function name shadows JS globals
> * CLJS-699: namespaced keyword regression
> * CLJS-647: js-obj keys could not be expressions

Hi David,

Got these errors in optimizations :none with source-map

Uncaught TypeError: undefined is not a function core.cljs:3852
Uncaught TypeError: Cannot read property 'EMPTY' of undefined net.cljs:24
Uncaught TypeError: Cannot call method 'call' of undefined repl.cljs:21
Uncaught TypeError: undefined is not a function template.cljs:7
Uncaught TypeError: Cannot read property 'EMPTY' of undefined 

The first one above points to this line at PersistentQueue. 

(set! cljs.core.PersistentQueue.EMPTY (PersistentQueue. nil 0 nil [] 0))

In simple mode without source-map, points to this line

cljs.core.PersistentQueue.EMPTY = new cljs.core.PersistentQueue(null, 0, null, 
cljs.core.with_meta(cljs.core.PersistentVector.EMPTY, new 
cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword(null, "end-line", 
"end-line", 2693041432), 3852, new cljs.core.Keyword(null, "end-column", 
"end-column", 3799845882), 69], null)), 0);

No error in advanced mode though (optimized out?)

Thanks,
Feng

-- 
-- 
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/groups/opt_out.

Reply via email to