On Tue, 19 Sep 2017 08:15:15 -0700, c...@zoffix.com wrote:
> m: use nqp; class Foo is Int { method new ($v) {
> nqp::p6bindattrinvres(self.bless, Int, q|$!value|,
> nqp::getattr(nqp::decont($v), Int, q|$!value|)) } };  my Foo $x .=
> new: 42; say $x; say $x.WHAT;
> rakudo-moar bb4579: OUTPUT: «(signal SEGV)»

timotimo++ fixed this.

    Rakudo fix: https://github.com/rakudo/rakudo/commit/dff7d9b28a
    NQP    fix: https://github.com/perl6/nqp/commit/4bc6050d6e
    MoarVM fix: https://github.com/MoarVM/MoarVM/commit/3b4b032984
    Tests:      https://github.com/rakudo/rakudo/commit/0d2ca0d7e1

Reply via email to