On Thursday, 7 February 2013 18:41:10 UTC+5:30, Vladimir Tsichevski wrote:
>
> Hi,
>
> seems type hints are ignored when we use proxy-super:
>
> (set! *warn-on-reflection* true)
> (proxy [Object][]
> (equals[o]
> (proxy-super equals)))
>
> Reflection warning, null:3 - reference to field equals can't be resolved.
>
Try this:
(proxy [Object][]
(equals [other]
(let [^Object this this]
(proxy-super equals other))))
Shantanu
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.