emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#17634: closed ("Unbound var" compilation error, la


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#17634: closed ("Unbound var" compilation error, lambda* & #:optional)
Date: Mon, 29 Sep 2014 04:03:01 +0000

Your message dated Mon, 29 Sep 2014 00:02:09 -0400
with message-id <address@hidden>
and subject line Re: bug#17634: "Unbound var" compilation error, lambda* & 
#:optional
has caused the debbugs.gnu.org bug report #17634,
regarding "Unbound var" compilation error, lambda* & #:optional
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
17634: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17634
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: "Unbound var" compilation error, lambda* & #:optional Date: Thu, 29 May 2014 22:36:08 +0200
Hi!

Please, see the attached REPL session.

Regards


scheme@(guile-user)> ((lambda* (a #:optional (b (+ a 1))) b) 1)
While compiling expression:
ERROR: unbound var a-492
scheme@(guile-user)> (define f (lambda* (a #:optional (b (+ a 1))) b))
scheme@(guile-user)> (f 1)
$2 = 2
scheme@(guile-user)> ((lambda* (a #:key (b (+ a 1))) b) 1)
$3 = 2

(Tested on Guile 2.0.11)



--- End Message ---
--- Begin Message --- Subject: Re: bug#17634: "Unbound var" compilation error, lambda* & #:optional Date: Mon, 29 Sep 2014 00:02:09 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Josep Portella Florit <address@hidden> writes:

> scheme@(guile-user)> ((lambda* (a #:optional (b (+ a 1))) b) 1)
> While compiling expression:
> ERROR: unbound var a-492
> scheme@(guile-user)> (define f (lambda* (a #:optional (b (+ a 1))) b))
> scheme@(guile-user)> (f 1)
> $2 = 2
> scheme@(guile-user)> ((lambda* (a #:key (b (+ a 1))) b) 1)
> $3 = 2

Fixed in 7a71a45cfd6092402d540e9bc5d2432941a8a336 on the stable-2.0
branch.  I'm closing this bug.

    Thanks!
      Mark


--- End Message ---

reply via email to

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