On Oct 15, 12:14 pm, MikeM <[EMAIL PROTECTED]> wrote:
> In SVN 1067, the following throws an NPE:
>
> (let [frdr (new java.io.StringReader "{:a 1}")
> prdr (new java.io.PushbackReader frdr)
> eof (new Object)]
> (read prdr nil eof)
> )
>
> Using false instead of nil works:
>
> (let [frdr (new java.io.StringReader "{:a 1}")
> prdr (new java.io.PushbackReader frdr)
> eof (new Object)]
> (read prdr false eof)
> )
> ; => {:a 1}
Fixed - SVN rev 1069, thanks for the report.
Rich
--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---