URL:
<http://savannah.gnu.org/bugs/?34102>
Summary: Incorrect procedure arities with Guile 2.x if no
compilation
Project: Guile
Submitted by: patb
Submitted on: Tue 23 Aug 2011 12:33:23 PM CEST
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
If Guile is run without auto-compilation, the arities of the procedures having
a rest or an optional parameter are wrong.
With the test script attached:
$ guile -v | head -1
guile (GNU Guile) 2.0.2.50-b8287
$ guile --fresh-auto-compile --no-auto-compile -s test.scm
(2 0 #f)
(0 0 #t)
(0 0 #t)
$ guile --auto-compile -s test.scm
(2 0 #f)
(2 0 #t)
(2 1 #f)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 23 Aug 2011 12:33:23 PM CEST Name: test.scm Size: 267B By: patb
<http://savannah.gnu.org/bugs/download.php?file_id=23852>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34102>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/