On Mon, 29 Jan 2018 03:54:38 -0800, pesc...@gmail.com wrote: > On Sat, 14 Jan 2017 13:46:47 -0800, barto...@gmx.de wrote: > > On Tue, 10 Jan 2017 12:46:48 -0800, barto...@gmx.de wrote: > > > I managed to golf this a bit: > > > > > > $ ./perl6-j -e 'use nqp; class A { has Mu $!foo; method bar () { > > > $!foo > > > := nqp::null; say nqp::isnull($!foo) ?? "null" !! $!foo } > > > }.new.bar' > > > (Mu) > > > > As far as I understand, the problem is deep in nqp-j -- either in > > bind_attribute_boxed (called here: > > https://github.com/perl6/nqp/blob/7479ce662d6313c303cd684ebbbd56559cb82da3/src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java#L2913 > > ) or in get_attribute_boxed. The code for those methods is far above > > my paygrade. > > As of Rakudo commit a9a9e1c97 neither t/spec/S03-metaops/zip.t nor the > examples in this ticket actually using Z fail. The code snippet > showing the conversion of nqp::null to Mu has not changed behavior, > but considering this ticket is about zip and not NQP difference > between moar and jvm I am not sure that qualifies as a reason to keep > it open, and I'd request closing.
I agree. I've opened a rakudo issue about the NQP difference [1] and I'm closing this ticket as 'resolved'. [1] https://github.com/rakudo/rakudo/issues/1613