On Thu, 25 Aug 2016 07:14:03 -0700, coke wrote:
> On Sat Jul 23 20:47:04 2016, [email protected] wrote:
> > Not even sure what causes that, but removing the `redo` avoids the
> > error.
> >
> > $ perl6 -e 'react { whenever supply { emit 42; redo } { .say } }'
> > 42
> > No such method 'CALL-ME' for invocant of type 'Bool'
> > in block <unit> at -e line 1
> >
> >
>
> Behavior has changed:
>
> $ perl6 -e 'react { whenever supply { emit 42; redo } { .say } }'
> 42
> Access denied to keep/break this Promise; already vowed
> in any at /Users/coke/.rakudobrew/moar-
> 2016.08.1/install/share/perl6/runtime/CORE.setting.moarvm line 1
> in block <unit> at -e line 1
Running it with a recent version gives the following result
dogbert@dogbert-VirtualBox ~ $ perl6 -e 'react { whenever supply { emit 42;
redo } { .say } }'
42
===SORRY!===
redo without loop construct
If this message is correct then the original code snippet should never have
worked in the first place.
Rejecting issue. Reopen if you think this is a mistake.