On Sun, Mar 21, 2021 at 9:47 PM <mimosin...@gmail.com> wrote:
>
> Waw! :) Following your examples and suggestions, these work:
>
> > class { submethod TWEAK(-->Nil) { Any.map: {say 99}  } }.new;
> > class { submethod TWEAK { sink Any.map: {say 99}  } }.new;
> > class { submethod TWEAK { eager Any.map: {say 99}  } }.new;
>
> I really appreciate your discussion. Let me know if you think it
> is worth to include this issue in the TWEAK Raku documentation.

I think the first step is to see if it's considered a Raku(do) bug.

I've filed an issue: https://github.com/rakudo/rakudo/issues/4260

--
love, raiph

Reply via email to