Subject: bug#49311: (null?) cannot be compiled (error from (language typs types))

From: Maxime Devos <[email-masked]>
Date: Thu, 01 Jul 2021 13:47:14 +0200

Dr. Arne Babenhauserheide schreef op do 01-07-2021 om 13:44 [+0200]:
> Maxime Devos <[email-masked]> writes:
> > scheme@(guile-user)> (null?)
> > ;;; <stdin>:1:0: warning: possibly wrong number of arguments to `null?'
> 
> This is a correct warning: null? requires an argument (the list to check
> for emptyness). The path forward from here is to find out why null? does
> not receive an argument.

Yes, the warning is correct. I wasn't referring to the warning, but to the compile
error.

scheme@(guile-user)> (null?)
;;; [the warning]
While compiling expression:
Wrong number of arguments to #<procedure 7fad2ea94660 at language/cps/types.scm:609:0 (in succ param val)>
^^^ this error

Greetings,
Maxime.