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


$ perl6 -e '((Nil)=>1).key.WHAT.say; ((Nil)=>1).perl.EVAL.key.WHAT.say'
Nil
(Str)

The problem is that the .perl of that pair is "Nil => 1", which parses
as a string key rather than the Nil object.  Parens or some other
circumlocution is required in order to preserve the meaning of "Nil"
in this context.

-zefram

Reply via email to