Opened 7 years ago

#1207 new defect

Argument mismatch for structure accessors produces a bad error.

Reported by: stassats Owned by:
Priority: normal Milestone:
Component: Compiler Version: trunk
Keywords: Cc: stassats@…


(defstruct x y)
(lambda () (incf (x-y)))

> Error: (X) can't be destructured against the lambda list (CCL::STRUCT CCL::TYPESPEC), because it contains 1 elements, and exactly 2 are expected

Change History (0)

Note: See TracTickets for help on using tickets.