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


Coercing from List to Set, where the List contains a Pair element:

> (:a,3).perl
(:a, 3)
> (:a,3).Set.perl
set("a",3)
> (:!a,3).perl
(:!a, 3)
> (:!a,3).Set.perl
set(3)

I'd expect the coercion to yield a Set that contains a Pair element.
(Such a Set can readily be constructed by other means.)  Instead it's
either replacing the Pair with its key or ignoring the Pair entirely.

-zefram

Reply via email to