unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #34102] Incorrect procedure arities with Guile 2.x if no compilation
@ 2011-08-23 10:33 Patrick Bernaud
  2011-08-25 14:17 ` Stefan Israelsson Tampe
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick Bernaud @ 2011-08-23 10:33 UTC (permalink / raw)
  To: Patrick Bernaud, bug-guile

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/




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-15 23:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23 10:33 [bug #34102] Incorrect procedure arities with Guile 2.x if no compilation Patrick Bernaud
2011-08-25 14:17 ` Stefan Israelsson Tampe
2011-08-27 13:16   ` [bug #34102] improve debuggability of interpreted procedures (procedure-minimum-arity) Andy Wingo
2011-08-30  8:57     ` Patrick Bernaud
2011-08-31 12:29       ` Stefan Israelsson Tampe
2011-11-15 22:45         ` bug#10059: " Andy Wingo
     [not found]           ` <handler.10059.B.132139723619652.ack@debbugs.gnu.org>
2011-11-15 23:01             ` bug#10059: fixed Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).