On Sat Mar 28 16:15:48 2015, esteiner wrote:
> 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

I don't see this in the synopses, but only in the test file, and it looks like 
the tests were originally added after this ticket was opened. Can we get a 
ruling as to whether this is required? (Or a pointer to something in the Syn?)

-- 
Will "Coke" Coleda

Reply via email to