# New Ticket Created by Edwin Steiner # Please include the string: [perl #124205] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=124205 >
According to its definition, squish should always return at least the first list element in the result list, no matter what &with returns. Currently it can happen that squish returns an empty list if &with returns true on the first comparison: This is perl6 version 2015.03 built on MoarVM version 2015.03 > <a a>.squish(:with(-> $a, $b {1})).perl.say ().list This works with unique: > <a a>.unique(:with(-> $a, $b {1})).perl.say ("a",).list