bug-kawa
[Top][All Lists]
Advanced

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

[Bug-kawa] [bug #24249] Local define miscompiled


From: Helmut Eller
Subject: [Bug-kawa] [bug #24249] Local define miscompiled
Date: Fri, 12 Sep 2008 12:00:42 +0000
User-agent: Opera/9.21 (X11; Linux i686; U; en)

URL:
  <http://savannah.gnu.org/bugs/?24249>

                 Summary: Local define miscompiled 
                 Project: Kawa
            Submitted by: ellerh
            Submitted on: Fri 12 Sep 2008 12:00:39 PM GMT
                Category: Code generation
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Kawa 1.9.3 (revision 6142M)
miscompiles the following expression.
k is (wrongly) null:

  (let ()
    (define (foo) (bar))
    (define (bar)
      (let ((k (lambda () #f)))
         (cond ((not (procedure? k))
               (error 'bad-k k)))
        k))
    (define (baz) (bar))
    
    (foo))





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24249>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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