Opened 6 years ago

Last modified 12 months ago

#395 new defect

Reader mistakenly accepts multiply dotted forms such as (2 . 5 . x) — at Version 1

Reported by: Mark Evenson Owned by:
Priority: minor Milestone: 1.8.1
Component: interpreter Version: 1.4.0-dev
Keywords: Cc:
Parent Tickets:

Description (last modified by Mark Evenson)

In <http://article.gmane.org/gmane.lisp.armedbear.devel/3454> Alejandro Zamora Fonseca notes:

CL-USER> '(2 . 5)
(2 . 5)
CL-USER> '(2 . 5 . 5)
(2 . 5)
CL-USER> (equal '(2 . 5) '(2 . 5 . 5))
T

while other implementations give me an error when i type '(2 . 5 . 5)
it's a bug or ANSI CL allows this?

According to Pascal J. Bourguignon's reading of the CLHS <http://article.gmane.org/gmane.lisp.armedbear.devel/3455>, ABCL should signal a READER-ERROR (or possibly an ERROR) to return to ANSI conformance.

Change History (1)

comment:1 Changed 6 years ago by Mark Evenson

Description: modified (diff)
Note: See TracTickets for help on using tickets.