On Sat Jun 04 13:30:58 2016, barto...@gmx.de wrote: > > I'm not really sure, but I think the NPE happens because somewhere in > 'sub map' or 'method map' is a call to .list and we end up in > List.iterator.
Ah, here (src/core/Any-iterable-methods.pm:1371) is what made me assume that map caused us to end up in List.iterator -- values seems to be a List here: multi sub map(&code, +values) { my $laze = values.is-lazy; values.map(&code).lazy-if($laze) }