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

2021-07-01 Thread Maxime Devos
Dr. Arne Babenhauserheide schreef op do 01-07-2021 om 13:44 [+0200]: > Maxime Devos writes: > > scheme@(guile-user)> (null?) > > ;;; :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

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

2021-07-01 Thread Dr. Arne Babenhauserheide
Hi Maxime, thank you for investigating! Maxime Devos writes: > scheme@(guile-user)> (null?) > ;;; :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 n

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

2021-07-01 Thread Maxime Devos
Hi, While hacking on Guix, I encountered the following backtace: In system/base/compile.scm: 265:44 19 (_ _ _) 261:33 18 (_ _ #) In language/cps/optimize.scm: 128:12 17 (_ _ _) 87:0 16 (optimize-higher-order-cps _ _) In language/cps/dce.scm: 430:33 15 (eliminate-dead-code _) 1