Welcome! Please see the About page for a little more info on how this works.

0 votes
in Syntax and reader by

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

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJ-1707 (reported by bronsa)
...