Clojure

Enable refering to ->type inside deftype

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Trivial Trivial
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Patch:
    Code

Description

Inside defrecord is possible to refer to ->type-ctor, that is not possible inside deftype.
This patch adds an implicit declare, as done in defrecord

Activity

Hide
Timothy Baldridge added a comment -

Seems valid. Vetting.

Show
Timothy Baldridge added a comment - Seems valid. Vetting.
Timothy Baldridge made changes -
Field Original Value New Value
Approval Vetted [ 10003 ]
Rich Hickey made changes -
Approval Vetted [ 10003 ]
Issue Type Defect [ 1 ] Enhancement [ 4 ]
Alex Miller made changes -
Labels deftype

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: