Okay, I opened a github issue:
https://github.com/rakudo/rakudo/issues/3421
On 1/13/20, Vadim Belman wrote:
> At a quick glance, looks like a bug to me. Worth opening a ticket on
> https://github.com/rakudo/rakudo
>
> Best regards,
> Vadim Belman
>
>> On Jan 12, 2020, at 8:15 PM, Joseph
At a quick glance, looks like a bug to me. Worth opening a ticket on
https://github.com/rakudo/rakudo
Best regards,
Vadim Belman
> On Jan 12, 2020, at 8:15 PM, Joseph Brenner wrote:
>
> Moving the definition of the subset outside of the class
> covers for the weird behavior...
>
> my
Moving the definition of the subset outside of the class
covers for the weird behavior...
my @allowed = << alpha beta gamma delta >>;
my @default = << alpha >>;
subset Allowed of Str where * eq any( @allowed );
class HasSubset {
has Allowed @.grk = @default;
method echo_grk {