# New Ticket Created by  Brandon Allbery 
# Please include the string:  [perl #127767]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127767 >


I had intended to send this 2 months ago (whoops) but got buried in inbox...

This from a discussion on p6-users (
http://www.nntp.perl.org/group/perl.perl6.users/2016/01/msg2495.html):

On Mon, Jan 25, 2016 at 2:07 PM, Brandon Allbery <allber...@gmail.com>
wrote:
> On Mon, Jan 25, 2016 at 2:42 PM, Carl Mäsak <cma...@gmail.com> wrote:
>>
>> >> my %h; say 'false' if !%h<a>:exists;
>> > Unexpected named parameter 'exists' passed
>
> By the way, is it me or would it be a lot more appropriate and helpful if
> this error said *what* it was passed to?

As it turns out, while one would naïvely expect :exists to have been
applied to postcircumfix:<< < > >>, it was in fact applied to prefix:<!>.
Quite a bit of confusion would have been avoided if the error had said so.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to