Reader conditionals throws when they have nil expressions

Description

Reader conditional that has nil as an expression fails.

e.g. (read-string {:read-cond :allow} "#?(:default nil)")

The fact that nil values are valid expressions are documented at both official documentation and design page.

Patch: clj-1785-v2.patch

Screened by: Alex Miller

Environment

None

Status

Assignee

Jozef Wagner

Reporter

Jozef Wagner

Approval

Ok

Patch

Code and Test

Fix versions

Affects versions

Priority

Critical
Configure