Clojure

print-dup should not be defined for deftypes

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: Release 1.3
  • Fix Version/s: Release 1.3
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test
  • Approval:
    Ok

Description

deftypes are supposed to be relatively 'clean'. Defining print-dup on them might conflict with their other intended uses - e.g. if you use a deftype and implement IPersistentSet you can't print due to this conflict.

Activity

Fogus made changes -
Field Original Value New Value
Attachment CLJ-812-print-dup-no-deftype.diff [ 10260 ]
Fogus made changes -
Approval Test
Patch Code and Test
Fogus made changes -
Attachment CLJ-812-print-dup-no-deftype.diff [ 10261 ]
Aaron Bedra made changes -
Approval Test Screened
Rich Hickey made changes -
Approval Screened Ok
Stuart Halloway made changes -
Status Open [ 1 ] Closed [ 6 ]
Resolution Completed [ 1 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: