GNU bug report logs - #73596
29.4; empty (let) does not signal an error

Previous Next

Package: emacs;

Reported by: Ulrich Mueller <ulm <at> gentoo.org>

Date: Wed, 2 Oct 2024 12:55:02 UTC

Severity: normal

Tags: wontfix

Found in version 29.4

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #43 received at control <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Ulrich Mueller <ulm <at> gentoo.org>,
 73596 <at> debbugs.gnu.org
Subject: Re: bug#73596: 29.4; empty (let) does not signal an error
Date: Sat, 2 Nov 2024 22:58:30 -0700
tags 73596 + wontfix
close 73596
thanks

Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>>> Not sure if the following is an error or the intended behavior.
>>> IIUC empty (let) should signal an error, and it did so in Emacs 27.2.
>>> However, it returns nil now.
>
> The compiler emits a warning when encountering a `let` without a body,
> which I think is the most important aspect.
>
> Returning nil (when the user decides to run the code despite the
> warning) seems just as good as signaling an error.  Just don't rely on it.

Further discussion revealed that we don't see the need to make any
changes here.  I'm therefore closing this bug report now.




This bug report was last modified 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.