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


> (:a..:b).WHICH
Range|a True..b True
> (List..Pair).WHICH
Use of uninitialized value $!min of type List in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something 
meaningful.  in block <unit> at <unknown file> line 1
Use of uninitialized value $!max of type Pair in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something 
meaningful.  in block <unit> at <unknown file> line 1
Range|..

Even where it doesn't produce these warnings and an empty representation
of an endpoint, this style of .WHICH is very poor and clash-prone.
Range.WHICH should apply .WHICH to the endpoint objects.

-zefram

Reply via email to