# New Ticket Created by Sam S. # Please include the string: [perl #126576] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=126576 >
When the LHS expression of xx is a List, the nested structure of the result is preserved: ➜ dd (2, 4, 6) xx 2 List $var = $((2, 4, 6), (2, 4, 6)) However when the LHS is a Seq returned from .pick or .map or similar, the result unexpectedly gets flattened: ➜ dd (2, 4, 6).pick(*) xx 2 List $var = $(2, 6, 4, 4, 2, 6) ➜ dd (2, 4, 6).map({$_}) xx 2 List $var = $(2, 4, 6, 2, 4, 6) [This is perl6 version 2015.10-195-ga2a34c2 built on MoarVM version 2015.10-56-g9fd3005]