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

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

[debbugs-tracker] bug#18583: closed (possibly buggy top level behavior i


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#18583: closed (possibly buggy top level behavior in master)
Date: Tue, 21 Jun 2016 20:52:01 +0000

Your message dated Tue, 21 Jun 2016 22:51:17 +0200
with message-id <address@hidden>
and subject line Re: bug#18583: possibly buggy top level behavior in master
has caused the debbugs.gnu.org bug report #18583,
regarding possibly buggy top level behavior in master
to be marked as done.

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


-- 
18583: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18583
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: possibly buggy top level behavior in master Date: Mon, 29 Sep 2014 15:24:31 +0200
The following code:

(define-syntax define-lues
  (syntax-rules ()
    ((_ () exp)
     (call-with-values (lambda () exp) (lambda () 'unspecified)))
    ((_ (var . vars) exp)
     (begin
       (define var (call-with-values (lambda () exp) list))
       (define-lues vars (apply values (cdr var)))
       (define var (car var))))
    ((_ var exp)
     (define var (call-with-values (lambda () exp) list)))))

(define-lues (a) (values (make-vector 3 9)))
(vector-length a)

In 2.0, either pasting this in the REPL or (load "...") a file
containing this produces the expected result, 3.

In the current master (f7582), pasting in the REPL produces the
same result, but loading from a file this produces the error:

> In procedure vector-ref: Wrong type argument in position 1 (expecting 
> vector): (#(9 9 9))

I'm aware of the workarounds, I'm reporting the behavior itself.

Regards,

        Daniel




--- End Message ---
--- Begin Message --- Subject: Re: bug#18583: possibly buggy top level behavior in master Date: Tue, 21 Jun 2016 22:51:17 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
thanks


--- End Message ---

reply via email to

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