Joseph Brenner <[email protected]> wrote:
> Andy Bach <[email protected]> wrote:
>> Joseph Brenner <[email protected]> wrote:
>>> I'd thought that that [this] would confirm that both elements were Int:
>>> say do given all(3,7) { when Int { "both are Int" }; default {"not
>>> similar"} };
>>> ## not similar
>> I get a different result
>> $ raku -e ' say do given all(3,7) { when Int { "both are Int" }; default
>> {"not similar"} };'
>> both are Int
>> $ raku -v
>> This is Rakudo version 2020.05.1 built on MoarVM version 2020.05
> That's interesting. I just re-built from github and I'm still
> seeing the behavior I reported:
>
> raku -e 'say do given all(3,7) { when Int { "both are Int" }; default {"not
> similar"} };'
> not similar
> raku --version
> Welcome to Rakudo™ v2021.10-43-ga8329f6fd.
But if I run with an older installation, using 𝐑𝐚𝐤𝐮𝐝𝐨 v2020.10,
I see it work correctly. This is looking like a bug introduced
fairly recently.
I opened an issue on this:
https://github.com/rakudo/rakudo/issues/4615