On Sun, Nov 21, 2010 at 12:21 PM, Shantanu Kumar
wrote:
> Hi,
>
> Not sure if it makes sense, but I thought I'd ask anyway. Why are type
> hints in a macro not passed to a body of code executed inside?
>
> user=> (set! *warn-on-reflection* true)
> true
> user=> (def s "Hello world")
> #'user/s
> u
Hi,
Not sure if it makes sense, but I thought I'd ask anyway. Why are type
hints in a macro not passed to a body of code executed inside?
user=> (set! *warn-on-reflection* true)
true
user=> (def s "Hello world")
#'user/s
user=> (.length s)
Reflection warning, NO_SOURCE_PATH:28 - reference to fiel