Huh. How did that happen? And why didn't my IDE indent the code
differently, making the problem obvious?


On Tue, Jun 25, 2013 at 12:48 AM, Andy Fingerhut
<andy.finger...@gmail.com>wrote:

> You have what is likely an undesired right paren at the end of the let
> line, ending the scope of the let.
>
> Andy
>
>
> On Mon, Jun 24, 2013 at 4:32 PM, Cedric Greevey <cgree...@gmail.com>wrote:
>
>> (defn foo [x y z]
>>   (let [x (long x) y (long y) z (long z)])
>>     (loop [a false b (long 0)]
>>       (if a b (recur true (+ x (+ y z))))))
>> NO_SOURCE_PATH:1 recur arg for primitive local: b is not matching
>> primitive, had: Object, needed: long
>> Auto-boxing loop arg: b
>>
>> What the fuh? Binary + with primitive args is supposed to produce
>> primitive output. The auto-promoting +' and ternary-plus + are the ones
>> that are supposed to produce Object. What gives?
>>
>>  --
>> --
>> 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.
>>
>>
>>
>
>  --
> --
> 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.
>
>
>

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