bug-guile
[Top][All Lists]
Advanced

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

bug#17634: "Unbound var" compilation error, lambda* & #:optional


From: Mark H Weaver
Subject: 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





reply via email to

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