Subject: Re: bug#38617: should internal defines be callable with incorrect number of args?
From: Andy Wingo <[email-masked]>
To: Christopher Lam <[email-masked]>
Cc: [email-masked]
Date: Sun, 12 Jan 2020 21:52:20 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sun 15 Dec 2019 02:02, Christopher Lam <[email-masked]> writes:

> See snippet below. 
> IMHO the second call to add1 should fail. On guile-2.2.6 it does not error out.
> On guile-2.0 it does throw error (as I think it should).
> Is this intentional?

OMG what an embarrassing bug!  Thank you for finding and reporting it!
Fixed on 2.2 and master.

Andy