On Sun, Oct 3, 2010 at 11:26 PM, ataggart <alex.tagg...@gmail.com> wrote:
> I don't see what you're seeing for the type-hinted version:
...
> Perhaps you need to update your 1.3 install.

Just ran lein deps on the snapshot to get the latest versions and
still see the warnings:

(set! *warn-on-reflection* true)
; true
(defn asum-sq [ ^floats xs]
  (let [^floats dbl (amap xs i ret
             (* (aget xs i)
                 (aget xs i)))]
    (areduce dbl i ret 0
      (+ ret (aget dbl i)))))
; Reflection warning, NO_SOURCE_PATH:2 - call to aclone can't be resolved.
; Reflection warning, NO_SOURCE_PATH:2 - call to alength can't be resolved.
; Reflection warning, NO_SOURCE_PATH:2 - call to aget can't be resolved.
; Reflection warning, NO_SOURCE_PATH:2 - call to aget can't be resolved.
; Reflection warning, NO_SOURCE_PATH:2 - call to aset can't be resolved.
; Reflection warning, NO_SOURCE_PATH:2 - call to alength can't be resolved.
; Reflection warning, NO_SOURCE_PATH:2 - call to aget can't be resolved.
; NO_SOURCE_FILE:2 recur arg for primitive local: ret is not matching
primitive, had: Object, needed: long
; Auto-boxing loop arg: ret
; Reflection warning, NO_SOURCE_PATH:2 - call to alength can't be resolved.
; Reflection warning, NO_SOURCE_PATH:2 - call to aget can't be resolved.
; #'user/asum-sq

Here's the 1.3.0 snapshot files:

(! 520)-> ls lib
clojure-1.3.0-master-20101002.200208-12.jar     dev                             
                standalone-1.3.0-20101002.230520-4.jar
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

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