bug-guile
[Top][All Lists]
Advanced

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

[bug #34102] Incorrect procedure arities with Guile 2.x if no compilatio


From: Patrick Bernaud
Subject: [bug #34102] Incorrect procedure arities with Guile 2.x if no compilation
Date: Tue, 23 Aug 2011 10:33:24 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-fr) AppleWebKit/531.2+ (KHTML, like Gecko) Version/5.0 Safari/531.2+ Debian/squeeze (2.30.6-1) Epiphany/2.30.6

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/




reply via email to

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