Subject: bug#21614: closed (Re: bug#21614: add-to-load-path compilation fails with compile-cps error)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 06 Oct 2015 14:15:03 +0000

Your bug report

#21614: add-to-load-path compilation fails with compile-cps error

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
21614: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21614
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#21614: add-to-load-path compilation fails with compile-cps error
From: Mark H Weaver <[email-masked]>
To: tantalum <[email-masked]>
Cc: [email-masked]
Date: Tue, 06 Oct 2015 10:14:15 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

tantalum <[email-masked]> writes:

> i am getting a compilation error which seems odd to me, with guile
> version 2.1.0.455-73f61, compiled from the commit from 2015-09-18.
[...]
> # from the repl
>
> scheme@(guile-user)> (add-to-load-path "test")
> While compiling expression:
> ERROR: Wrong number of arguments to #<procedure 1877c00 at language/tree-il/compile-cps.scm:463:7 (val)>
> scheme@(guile-user)>

I believe this is fixed in commit 315adb6347.  I'm closing this bug, but
please let me know if you continue to have problems.

     Thanks!
       Mark

Subject: add-to-load-path compilation fails with compile-cps error
From: tantalum <[email-masked]>
To: [email-masked]
Date: Sun, 4 Oct 2015 16:43:13 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

hi,

i am getting a compilation error which seems odd to me, with guile version 2.1.0.455-73f61, compiled from the commit from 2015-09-18.

here are several scenarios i tried:

# code in a file

## file contents

   (add-to-load-path "test")

## compilation

guile t.scm
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/t.scm
;;; WARNING: compilation of /tmp/t.scm failed:
;;; ERROR: Wrong number of arguments to #<procedure 1ad6500 at language/tree-il/compile-cps.scm:463:7 (val)>

# from the command-line

guile -c "(add-to-load-path \"test\")"

(just exits)

# from the repl

scheme@(guile-user)> (add-to-load-path "test")
While compiling expression:
ERROR: Wrong number of arguments to #<procedure 1877c00 at language/tree-il/compile-cps.scm:463:7 (val)>
scheme@(guile-user)>