> So either STORE_AT_KEY for typed hashes should stringify objects > silently if the keytype is Str, like untyped hashes do. Or untyped > hashes should *not* automatically stringify objects.
Untyped hashes are {Str(Any)} -- see S09:1187: The standard Hash: my %hash; is really short for: my Mu %hash{Str(Any)}; This accounts for the difference between the two; an untyped hash will accept Any key and coerce it to a Str, while a hash declared {Str} will only accept Str values as keys. Closing ticket, Pm