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.

Full log


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




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.