#395: Reader mistakenly accepts multiply dotted forms such as (2 . 5 . x) ------------------------------+----------------------- Reporter: mevenson | Owner: Type: defect | Status: new Priority: minor | Milestone: 1.4.0 Component: interpreter | Version: 1.4.0-dev Resolution: | Keywords: Parent Tickets: | ------------------------------+----------------------- Description changed by mevenson:
Old description:
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 if 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
New description:
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.
--
-- Ticket URL: http://abcl.org/trac/ticket/395#comment:1 armedbear http://abcl.org armedbear