diff --git a/src/core/Any-iterable-methods.pm b/src/core/Any-iterable-methods.pm index 125e38cfa83..3beffa5ca2b 100644 --- a/src/core/Any-iterable-methods.pm +++ b/src/core/Any-iterable-methods.pm @@ -19,11 +19,11 @@ augment class Any { proto method map(|) { * } - multi method map(\SELF: &block, :$label, :$item) { + multi method map(\SELF: █; :$label, :$item) { sequential-map(as-iterable($item ?? (SELF,) !! SELF).iterator, &block, :$label); } - multi method map(HyperIterable:D: &block, :$label) { + multi method map(HyperIterable:D: █; :$label) { # For now we only know how to parallelize when we've only one input # value needed per block. For the rest, fall back to sequential. if &block.count != 1 {