On Tue, Aug 16, 2016 at 12:39 PM, Zefram <perl6-bugs-follo...@perl.org>
wrote:

> If I construct a Pair whose key is a Scalar object,


Scalar objects are a leaked internal detail that aren't intended for direct
use (.VAR is an avowed hack, and the likely outcome of your insistence on
treating it as first class is that .VAR will end up being removed or
restricted to keep the Scalar from escaping). You've created a mutable-key
Pair, which probably breaks all the Pair-based containers along with
everything else that knows that Pair is immutable.

-- 
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