Opened 5 months ago

Closed 13 days ago

#1583 closed defect (fixed)

coops record-printer for instances do not work

Reported by: kooda Owned by:
Priority: minor Milestone: 5.1
Component: extensions Version: 5.0.0
Keywords: Cc:
Estimated difficulty: easy

Description

As reported on IRC by matijja, coops’ record printer for class instances does not work.

http://paste.call-cc.org/paste?id=c0e12d0a9d9bbd2e513fe88092f38be9e7afb6c3

While redefining a record printer for it makes everything work as expected:

http://paste.call-cc.org/paste?id=4e21716d788acd4c207a5a1ee14e11fa8cfd952e

From what I could gather, coops uses the record-variant egg to define its coops-instance record type.

It appears the egg has not been updated to add the new module prefix of the record symbol, so it registers the record type as just being coops-instance, while the define-record-printer macro correctly adds the module prefix, making them distinct from each other, the printer is then never used.

If we update the record-variant egg, we also would have to update coops, because it uses ##sys#check-structure directly.

Change History (2)

comment:1 Changed 3 weeks ago by sjamaan

  • Milestone changed from someday to 5.1

Moving to 5.1, as it's related to #1581

comment:2 Changed 13 days ago by felix

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed with the changes pushed with from #1581.

Note: See TracTickets for help on using tickets.