Subject: Re: bug#35186: 26.1; confusing error message and location on eager dotted pair evaluation

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 09 Jul 2019 18:08:19 +0200

Ernesto Alfonso <[email-masked]> writes:

>     $ cat foo.el
>     (defun foo ()
>       (some irrelevant form)
>       (a . b))
>     $ emacs -Q --batch -f batch-byte-compile foo.el
>     In toplevel form:
>     /tmp/foo.el:1:8:Error: Wrong type argument: sequencep, b

That's not an optimal error message; no.

I've been trying to find out what part of the byte compiler/reader
machinery is outputting it, but I haven't found it -- does anybody else
know where this is coming from?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no