Opened 6 years ago

Closed 6 years ago

#1042 closed defect (fixed)

numbers-syntax doesn't accept self-evaluating vectors

Reported by: evhan Owned by:
Priority: minor Milestone: someday
Component: extensions Version: 4.8.x
Keywords: numbers Cc:
Estimated difficulty:

Description

I think, now that vectors are self-evaluating, numbers-syntax needs to be updated to accept them in its redefinition of ##compiler#constant? as well.

Patch attached.

Hopefully this ticket doesn't cause any bleeding hearts :)

Attachments (1)

numbers-syntax-add-self-evaluating-vectors.patch (455 bytes) - added by evhan 6 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 6 years ago by sjamaan

Resolution: fixed
Status: newclosed

Thank you for reporting this. I've decided to defer to the core's predicate when it's not a number. That way, it's always consistent with whatever version of CHICKEN you're running (ie, on 4.8.0 it won't accept unquoted vector literals but on 4.8.2 it will)

This will probably be released when numbers is updated for the other r7rs stuff.

Note: See TracTickets for help on using tickets.