GNU bug report logs - #24061
While loop can't call continue in master branch

Previous Next

Package: guile;

Reported by: Nala Ginrut <nalaginrut <at> gmail.com>

Date: Sun, 24 Jul 2016 11:16:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24061 in the body.
You can then email your comments to 24061 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#24061; Package guile. (Sun, 24 Jul 2016 11:16:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nala Ginrut <nalaginrut <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sun, 24 Jul 2016 11:16:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nala Ginrut <nalaginrut <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: While loop can't call continue in master branch
Date: Sun, 24 Jul 2016 19:15:25 +0800
In 2.1.3.59-516f7, the 'continue' in 'while loop' throw exception. It's
OK in stable-2.0.

========================code============================
(define i 0)
(while (< i 20)
       (display i)(newline)
       (when (= i 11) (continue)) (set! i (1+ i)))
========================end=============================

While compiling expression:
ERROR: Throw to key `match-error' with args `("match" "no matching
pattern" #<cps (kargs () () (continue 16 (prompt #t 46 14)))>)'.








Reply sent to Andy Wingo <wingo <at> pobox.com>:
You have taken responsibility. (Thu, 04 Aug 2016 19:39:02 GMT) Full text and rfc822 format available.

Notification sent to Nala Ginrut <nalaginrut <at> gmail.com>:
bug acknowledged by developer. (Thu, 04 Aug 2016 19:39:02 GMT) Full text and rfc822 format available.

Message #10 received at 24061-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Nala Ginrut <nalaginrut <at> gmail.com>
Cc: 24061-done <at> debbugs.gnu.org
Subject: Re: bug#24061: While loop can't call continue in master branch
Date: Thu, 04 Aug 2016 21:38:03 +0200
On Sun 24 Jul 2016 13:15, Nala Ginrut <nalaginrut <at> gmail.com> writes:

> In 2.1.3.59-516f7, the 'continue' in 'while loop' throw exception. It's
> OK in stable-2.0.
>
> ========================code============================
> (define i 0)
> (while (< i 20)
>        (display i)(newline)
>        (when (= i 11) (continue)) (set! i (1+ i)))
> ========================end=============================
>
> While compiling expression:
> ERROR: Throw to key `match-error' with args `("match" "no matching
> pattern" #<cps (kargs () () (continue 16 (prompt #t 46 14)))>)'.

Fixed in master.  Thanks for the report!

Andy




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 02 Sep 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.