bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: tantalum
Subject: bug#21614: add-to-load-path compilation fails with compile-cps error
Date: Sun, 4 Oct 2015 16:43:13 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

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)>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]