On Thu, Mar 21, 2013 at 08:49:42AM +0100, Moritz Lenz wrote:
> -    method sink() {
> -        self.gimme(*, :sink);
> +    method sink(\SELF:) {
> +        SELF.gimme(*, :sink) unless nqp::iscont(SELF);
>          Nil;
>      }
>  }
> 
> 
> But of course it's not a real fix. Should I apply it?

I think I prefer

    method sink(\SELF:) {
        SELF.gimme(*) unless nqp::iscont(SELF);
        Nil;
    }

because I'm not entirely certain that :sink is safe in
all cases (and it may go away anyway).

Pm

Reply via email to