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


View this message in rfc822 format

From: Nala Ginrut <nalaginrut <at> gmail.com>
To: 24061 <at> debbugs.gnu.org
Subject: bug#24061: 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)))>)'.








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.