We're updating the issue view to help you get more done. 

conditional form is not consumed when :read-allow is falsey

Description

1 2 3 4 5 6 user=> (def a (java.io.PushbackReader. (java.io.StringReader. "#?(:clj [1 2])"))) #'user/a user=> (read a) RuntimeException Conditional read not allowed clojure.lang.Util.runtimeException (Util.java:221) user=> (read a) (:clj [1 2])

the expected result would be an EOF exception on the second read.

Environment

None

Status

Assignee

Unassigned

Reporter

Nicola Mometto

Labels

Approval

None

Patch

None

Priority

Major