pprint issues infinite output for a protocol

Description

Using pprint with a protocol name generates an unending stream of output. pprint appears to recurse through the Var reference as the value of the :var key in the protocol definition itself.

To reproduce:

Approach: Add a dispatch method which doesn't deref the Var

Patch: CLJ-1565.patch
Screened by: Alex Miller

Environment

None

Status

Assignee

Unassigned

Reporter

Michael Nygard

Labels

Approval

Ok

Patch

Code

Fix versions

Affects versions

Priority

Major
Configure