Opened 10 years ago
Closed 10 years ago
#769 closed defect (fixed)
Multiple :constructor options in cl:defstruct
Reported by: | lovesan | Owned by: | rme |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ANSI CL Compliance | Version: | trunk |
Keywords: | Cc: |
Description
Hello.
CCL does not accept multiple :CONSTRUCTOR options in DEFSTRUCT macro at the moment.
i.e. (defstruct (my-struct (:constructor make-my-struct) (:constructor my-struct)))
Error: Duplicate (:CONSTRUCTOR MY-STRUCT) options not allowed
While executing: DEFSTRUCT, in process listener(1).
This is an incompatibility with ANSI CL standard, which allows multiple constructor options: http://www.lispworks.com/documentation/HyperSpec/Body/m_defstr.htm
Change History (2)
comment:1 Changed 10 years ago by rme
- Owner set to rme
comment:2 Changed 10 years ago by rme
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
(In [14501]) Support defining multiple keyword constructor functions in defstruct.
If (:constructor nil) is combined with other :constructor options (defining either keyword or boa constructors), whine about that.
Fixes ticket:769.