Subject: bug#24061: closed (Re: bug#24061: While loop can't call continue in master branch)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 04 Aug 2016 19:39:02 +0000

Your bug report

#24061: While loop can't call continue in master branch

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
24061: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24061
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#24061: While loop can't call continue in master branch
From: Andy Wingo <[email-masked]>
To: Nala Ginrut <[email-masked]>
Cc: [email-masked]
Date: Thu, 04 Aug 2016 21:38:03 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sun 24 Jul 2016 13:15, Nala Ginrut <[email-masked]> 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

Subject: While loop can't call continue in master branch
From: Nala Ginrut <[email-masked]>
To: [email-masked]
Date: Sun, 24 Jul 2016 19:15:25 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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)))>)'.